mirror of
https://github.com/alex-shpak/hugo-book.git
synced 2024-11-28 14:10:14 +00:00
Add deprecation notice for menu bundle
This commit is contained in:
parent
345cb5d947
commit
f6e8d1b693
@ -1,4 +1,5 @@
|
|||||||
{{ with .Site.GetPage .Site.Params.BookMenuBundle }}
|
{{ with .Site.GetPage .Site.Params.BookMenuBundle }}
|
||||||
{{- $href := printf "href=\"%s\"" $.RelPermalink -}}
|
{{- $href := printf "href=\"%s\"" $.RelPermalink -}}
|
||||||
{{- replace .Content $href (print $href "class=active") | safeHTML -}}
|
{{- replace .Content $href (print $href "class=active") | safeHTML -}}
|
||||||
|
{{- warnf "Bundle menu mode is deprecated and will be removed" -}}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
Loading…
Reference in New Issue
Block a user