mirror of
https://github.com/alex-shpak/hugo-book.git
synced 2024-11-23 03:43:01 +00:00
5 lines
191 B
HTML
5 lines
191 B
HTML
{{ with .Site.GetPage .Site.Params.BookMenuBundle }}
|
|
{{- $href := printf "href=\"%s\"" $.RelPermalink -}}
|
|
{{- replace .Content $href (print $href "class=active") | safeHTML -}}
|
|
{{ end }}
|