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

github.com/gundamew/hugo-bingo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBing-Sheng Chen <gundamew@gmail.com>2018-07-03 11:56:34 +0300
committerBing-Sheng Chen <gundamew@gmail.com>2018-07-03 11:56:34 +0300
commit0e5d2c40e7c18d5a4e04742399c3a1844edccc91 (patch)
tree4ee1e49523e610bf00aa29a795f8f1a776b6721c
parentc834882b97f093c1990eb9bfb6c89dca9dff05c8 (diff)
Add menu config example
-rw-r--r--README.md18
1 files changed, 18 insertions, 0 deletions
diff --git a/README.md b/README.md
index fef0dd7..4c47382 100644
--- a/README.md
+++ b/README.md
@@ -17,6 +17,24 @@ For more information read the official guide: [Install and Use Themes](https://g
## Usage
+### Custom navbar
+
+```toml
+[menu]
+
+ [[menu.main]]
+ identifier = "home"
+ name = "Home"
+ url = "/"
+ weight = 10
+
+ [[menu.main]]
+ identifier = "posts"
+ name = "Posts"
+ url = "/posts"
+ weight = 20
+```
+
### Add social networks
You can put social network links on home page: