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

5 lines
191 B
HTML
Raw Permalink Normal View History

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