diff --git a/exampleSite/content/posts/_index.md b/exampleSite/content/posts/_index.md index 996c430..001ae24 100644 --- a/exampleSite/content/posts/_index.md +++ b/exampleSite/content/posts/_index.md @@ -1,6 +1,7 @@ --- menu: after: + name: blog weight: 5 title: Blog --- diff --git a/layouts/partials/docs/menu-hugo.html b/layouts/partials/docs/menu-hugo.html index e21e8cb..02391ae 100644 --- a/layouts/partials/docs/menu-hugo.html +++ b/layouts/partials/docs/menu-hugo.html @@ -3,6 +3,10 @@ https://gohugo.io/variables/menus/ --> {{ if . }} + {{ template "book-menu-hugo" . }} +{{ end }} + +{{ define "book-menu-hugo" }}