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

github.com/gevhaz/hugo-theme-notrack.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon <gevhaz@tutanota.com>2020-05-23 17:10:23 +0300
committerSimon <gevhaz@tutanota.com>2020-05-23 17:10:23 +0300
commit913c0960e26b729b817d56af7f0ac3b711c524b7 (patch)
tree688cf1c217d6fd2692cdd8d42731fd682799243a /README.md
parent45658e97469a94e96c7da761f49d6d1e2a9793f0 (diff)
Fix error when defining menus in site config
Diffstat (limited to 'README.md')
-rw-r--r--README.md21
1 files changed, 3 insertions, 18 deletions
diff --git a/README.md b/README.md
index e5e9c9c..ce99276 100644
--- a/README.md
+++ b/README.md
@@ -26,24 +26,6 @@ newContentEditor: "vim"
languageCode: "en-us"
lang: "en-us"
theme: "notrack"
-menu:
- navbar:
- - identifier: "about-me"
- name: "About Me"
- url: "#"
- weight: 50
- - identifier: "blog"
- name: "Blog"
- url: "/blog/"
- weight: 30
- - identifier: "categories"
- name: "All Categories"
- parent: "blog"
- url: "/categories/"
- - identifier: "tags"
- name: "All Tags"
- parent: "blog"
- url: "/tags/"
sectionPagesMenu: "navbar"
Paginate: 5
PaginatePath: "page"
@@ -79,6 +61,9 @@ menu:
---
```
+Don't use the site `config` to add menus because then the highlighting
+of active tabs won't work.
+
### How to add a page to drop down menu
Quick instruction: Set it's `parent` parameter to one of the menus in