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

github.com/pfadfinder-konstanz/hugo-dpsg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Mehl <mail@mehl.mx>2020-10-30 18:03:15 +0300
committerMax Mehl <mail@mehl.mx>2020-10-30 18:03:19 +0300
commit198870333db17383563c7513d8b6ec9846449689 (patch)
tree133478d42190b4bfbe4ec70b4f635545ed02cb37
parente2447114ca408d78a44242e8dd6d4139dc745bc8 (diff)
add menu to example config to display the menu bar
-rw-r--r--exampleSite/config.toml14
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