hugo-book
This commit is contained in:
5
themes/hugo-book/layouts/partials/docs/menu-bundle.html
Normal file
5
themes/hugo-book/layouts/partials/docs/menu-bundle.html
Normal file
@@ -0,0 +1,5 @@
|
||||
{{ with .Site.GetPage .Site.Params.BookMenuBundle }}
|
||||
{{- $href := printf "href=\"%s\"" $.RelPermalink -}}
|
||||
{{- replace .Content $href (print $href "class=active") | safeHTML -}}
|
||||
{{- warnf "Bundle menu mode is deprecated and will be removed" -}}
|
||||
{{ end }}
|
||||
Reference in New Issue
Block a user