diff options
author | Alex Shpak <alex-shpak@users.noreply.github.com> | 2019-02-20 00:28:16 +0100 |
---|---|---|
committer | Alex Shpak <alex-shpak@users.noreply.github.com> | 2019-02-20 00:28:16 +0100 |
commit | dd0f7f7a5e70652616720b72ccc95426db699508 (patch) | |
tree | 9dce0f1bde718cc4bb3b190c6d9bdec272bcda4e /layouts/partials/docs/menu-bundle.html | |
parent | d9961ece4ed9ab85b50c1e2622fdca7aec779bfe (diff) |
#24: Add JS script to keep menu on same position on reload
Diffstat (limited to 'layouts/partials/docs/menu-bundle.html')
-rw-r--r-- | layouts/partials/docs/menu-bundle.html | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/layouts/partials/docs/menu-bundle.html b/layouts/partials/docs/menu-bundle.html index dbece6c..5d90bbf 100644 --- a/layouts/partials/docs/menu-bundle.html +++ b/layouts/partials/docs/menu-bundle.html @@ -1,4 +1,7 @@ {{- template "hrefhack" . -}} {{ with .Site.GetPage .Site.Params.BookMenuBundle }} {{- .Content -}} +{{ end }} +{{ if .Site.Params.BookEnableJS }} + {{- template "jsmenu" . -}} {{ end }}
\ No newline at end of file |