Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/EmielH/tale-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmiel Hollander <EmielH@users.noreply.github.com>2019-10-27 12:19:15 +0300
committerEmiel Hollander <EmielH@users.noreply.github.com>2019-10-27 12:19:15 +0300
commit05c117cdf25a1d69b4e3c8f0d97dbdaf884d5fad (patch)
treefb48d8ddcace6bfb502975677d90c466e69d0f6f
parent5f55975c1e30eced91c17f2eb9a90e114fac42ea (diff)
Update README
Move menu section to chapter on configuration
-rw-r--r--README.md38
1 files changed, 19 insertions, 19 deletions
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).