aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials/docs/menu-bundle.html
blob: 9927923ae7a55121adcbf51f92cf9387df551555 (plain)
1
2
3
4
5
{{ 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 }}