p.d-legal/layouts/partials/docs/menu-page-bundle.html

5 lines
191 B
HTML
Raw Normal View History

2024-02-17 20:15:27 +00:00
{{ with .Site.GetPage .Page.Params.BookMenuBundle }}
{{- $href := printf "href=\"%s\"" $.RelPermalink -}}
{{- replace .Content $href (print $href "class=active") | safeHTML -}}
{{ end }}