diff options
author | Fabien CASTERS <fabien@vaga.io> | 2020-07-16 21:57:33 +0300 |
---|---|---|
committer | Fabien <vaga@users.noreply.github.com> | 2020-10-08 13:24:48 +0300 |
commit | 143e072fa91595d85dda9b16859edaa56d35528e (patch) | |
tree | 1360b65163e3c99d17fd01f30218e1062b40f92b /README.md | |
parent | 476c36d260427d1b7a0aab768af18021db240cda (diff) |
Add custom menu
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -32,6 +32,17 @@ In your `config.toml` file, define the following variables in `params`: - `description`: Short description of the author - `avatar`: Path of file containing the author avatar image +To add a menu item, add the following lines in `menu`: + +``` +[[menu.main]] + identifier = "tags" + name = "Tags" + url = "/tags/" +``` + +[Read Hugo documentations](https://gohugo.io/content-management/menus/#readout) for more informations about menu + To add a social link, add the following lines in `params`: ``` |