diff options
author | Simon <gevhaz@tutanota.com> | 2020-05-23 17:10:23 +0300 |
---|---|---|
committer | Simon <gevhaz@tutanota.com> | 2020-05-23 17:10:23 +0300 |
commit | 913c0960e26b729b817d56af7f0ac3b711c524b7 (patch) | |
tree | 688cf1c217d6fd2692cdd8d42731fd682799243a /README.md | |
parent | 45658e97469a94e96c7da761f49d6d1e2a9793f0 (diff) |
Fix error when defining menus in site config
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 21 |
1 files changed, 3 insertions, 18 deletions
@@ -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 |