Add deprecation notice for menu bundle

feature/prev-next
Alex Shpak 2021-05-21 00:46:53 +02:00
parent 345cb5d947
commit f6e8d1b693
1 changed files with 1 additions and 0 deletions

View File

@ -1,4 +1,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 }}