mirror of
https://github.com/alex-shpak/hugo-book.git
synced 2024-11-25 12:46:44 +00:00
6 lines
260 B
HTML
6 lines
260 B
HTML
{{ with .Site.GetPage .Site.Params.BookMenuBundle }}
|
|
{{- $href := printf "href=\"%s\"" $.RelPermalink -}}
|
|
{{- replace .Content $href (print $href "class=active") | safeHTML -}}
|
|
{{- warnf "Bundle menu mode is deprecated and will be removed" -}}
|
|
{{ end }}
|