Add support for hugo menus

This commit is contained in:
Alex Shpak
2020-02-12 22:12:41 +01:00
parent 59479b17ac
commit 2088c9a0cb
7 changed files with 56 additions and 1 deletions
+10
View File
@@ -34,6 +34,16 @@ languages:
contentDir: content.cn
weight: 3
menu:
# before: []
after:
- name: "Github"
url: "https://github.com/alex-shpak/hugo-book"
weight: 10
- name: "Hugo Themes"
url: "https://themes.gohugo.io/hugo-book/"
weight: 20
params:
# (Optional, default true) Controls table of contents visibility on right side of pages.
# Start and end levels can be controlled with markup.tableOfContents setting.