hugo-book-theme/layouts/partials/docs/menu-bundle.html

6 lines
260 B
HTML
Raw Normal View History

2018-09-12 14:36:16 +02:00
{{ with .Site.GetPage .Site.Params.BookMenuBundle }}
{{- $href := printf "href=\"%s\"" $.RelPermalink -}}
{{- replace .Content $href (print $href "class=active") | safeHTML -}}
2021-05-21 00:46:53 +02:00
{{- warnf "Bundle menu mode is deprecated and will be removed" -}}
2019-07-15 18:25:21 +02:00
{{ end }}