aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials/docs/menu-bundle.html
blob: ddaac5230e31e1837d19a9bf6a700153365db4fa (plain)
1
2
3
4
{{ with .Site.GetPage .Site.Params.BookMenuBundle }}
  {{- $href := printf "href=\"%s\"" $.RelPermalink -}}
  {{- replace .Content $href (print $href "class=active") | safeHTML -}}
{{ end }}