From 05c117cdf25a1d69b4e3c8f0d97dbdaf884d5fad Mon Sep 17 00:00:00 2001 From: Emiel Hollander Date: Sun, 27 Oct 2019 10:19:15 +0100 Subject: Update README Move menu section to chapter on configuration --- README.md | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index b32550a..d8c28ca 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,23 @@ Alternatively, you can tell Hugo to use the theme with the `server` command. hugo server -t tale ``` -#### Menu +### Additional information + +For more information, read the official [setup guide](https//gohugo.io/overview/installing/) of Hugo. + +### Update the theme + +If you have installed the theme as a git submodule, you can update the theme by issuing the following command inside your project folder. + +``` +git submodule update --remote --rebase +``` + +If you have cloned the theme, you can run `git pull` inside the theme folder. + +## Configuration + +### Menu The top menu uses [Hugo Menus](https://gohugo.io/content-management/menus/), with the name of the menu being `main`. To turn on the menu, follow the steps there - you can either add something like this to the front-matter of your pages: @@ -72,22 +88,6 @@ Or if you want more control, add a specific entry for each item in your menu: For menu internationalization/translation, see [Multilingual Mode: Menus](https://gohugo.io/content-management/multilingual/#menus). -### Additional information - -For more information, read the official [setup guide](https//gohugo.io/overview/installing/) of Hugo. - -### Update the theme - -If you have installed the theme as a git submodule, you can update the theme by issuing the following command inside your project folder. - -``` -git submodule update --remote --rebase -``` - -If you have cloned the theme, you can run `git pull` inside the theme folder. - -## Configuration - ### Internationalisation (i18n) Tale supports using other languages than English. Language files for the texts Tale uses are provided in the `i18n` directory. The default language is English. To switch languages, add the key `defaultContentLanguage` to your `config.toml` file. For example: @@ -150,11 +150,11 @@ css = ["custom.css", "custom2.css"] ## Acknowledgments -Thanks +Thanks - to [Chester How](//github.com/chesterhow) for creating the original [Tale theme for Jekyll](https://chesterhow.github.io/tale/), - to [onedrawingperday](//github.com/onedrawingperday), [bep](//github.com/bep) and [digitalcraftsman](//github.com/digitalcraftsman) for their help in getting the theme working correctly with Hugo, - to [lucperkins](https://github.com/lucperkins) for the [Fresh theme](https://github.com/lucperkins/hugo-fresh) from which I used some useful snippets of code. ## License -See [LICENSE](https://github.com/EmielH/tale-hugo/blob/master/LICENSE). \ No newline at end of file +See [LICENSE](https://github.com/EmielH/tale-hugo/blob/master/LICENSE). -- cgit v1.2.3