lyceum-site/layouts/partials/docs/menu-bundle.html

6 lines
260 B
HTML
Raw Normal View History

2024-10-03 22:08:11 +00:00
{{ 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 }}