From 143e072fa91595d85dda9b16859edaa56d35528e Mon Sep 17 00:00:00 2001 From: Fabien CASTERS Date: Thu, 16 Jul 2020 20:57:33 +0200 Subject: Add custom menu --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 93f0a3a..6e1135a 100644 --- a/README.md +++ b/README.md @@ -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`: ``` -- cgit v1.2.3