diff options
author | Alex Shpak <alex-shpak@users.noreply.github.com> | 2020-02-12 22:12:41 +0100 |
---|---|---|
committer | Alex Shpak <alex-shpak@users.noreply.github.com> | 2020-02-12 22:12:41 +0100 |
commit | 2088c9a0cb5e41554ad450a464b54f4c628e712b (patch) | |
tree | 1a5055daacaba1f5078cfc1a942f30630a894156 /exampleSite/config.yaml | |
parent | 59479b17ac06d4f0bccb5d3a2bcc88af4928ba4d (diff) |
Add support for hugo menus
Diffstat (limited to 'exampleSite/config.yaml')
-rw-r--r-- | exampleSite/config.yaml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/exampleSite/config.yaml b/exampleSite/config.yaml index 889f96b..3c9cb45 100644 --- a/exampleSite/config.yaml +++ b/exampleSite/config.yaml @@ -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. |