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

5 lines
191 B
HTML
Raw Permalink Normal View History

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