amethyst/layouts/partials/docs/menu-bundle.html
2023-01-01 23:41:14 +00:00

6 lines
260 B
HTML

{{ 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 }}