p.d-legal/layouts/partials/docs/menu-page-bundle.html
2024-02-26 03:25:11 -05:00

4 lines
191 B
HTML

{{ with .Site.GetPage .Page.Params.BookMenuBundle }}
{{- $href := printf "href=\"%s\"" $.RelPermalink -}}
{{- replace .Content $href (print $href "class=active") | safeHTML -}}
{{ end }}