From 8369d9a3a75c67a9487a6deec0db4157ae8bf3a0 Mon Sep 17 00:00:00 2001 From: Alex Shpak Date: Sat, 22 Feb 2020 19:30:46 +0100 Subject: #150, Add support for menu nesting (before, after menus) --- layouts/partials/docs/menu-hugo.html | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'layouts') 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" }} -- cgit v1.2.3