diff options
author | Max Mehl <mail@mehl.mx> | 2020-10-30 18:03:15 +0300 |
---|---|---|
committer | Max Mehl <mail@mehl.mx> | 2020-10-30 18:03:19 +0300 |
commit | 198870333db17383563c7513d8b6ec9846449689 (patch) | |
tree | 133478d42190b4bfbe4ec70b4f635545ed02cb37 | |
parent | e2447114ca408d78a44242e8dd6d4139dc745bc8 (diff) |
add menu to example config to display the menu bar
-rw-r--r-- | exampleSite/config.toml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml index d499fde..3e5a4c6 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -46,3 +46,17 @@ theme = "hugo-dpsg" [Params.widgets] recent_num = 5 # Set the number of articles in the "Recent articles" widget tags_counter = false # Enable counter for each tag in "Tags" widget + +# Custom menu items, normally controlled via front matter in /content files +[menu] + [[menu.main]] + identifier = "start" + name = "Start" + url = "/" + weight = 1 + + [[menu.main]] + identifier = "about" + name = "About" + url = "/about/" + weight = 2 |