Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/alex-shpak/hugo-book.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Shpak <alex-shpak@users.noreply.github.com>2021-05-21 01:46:53 +0300
committerAlex Shpak <alex-shpak@users.noreply.github.com>2021-05-21 01:46:53 +0300
commitf6e8d1b6934803b08616cd0e05206b1ea536f9b4 (patch)
treeff8c498ca3499002a73ad5fe798a7aae79214649
parent345cb5d94791c4fab628391150c664f4ee032da5 (diff)
Add deprecation notice for menu bundle
-rw-r--r--layouts/partials/docs/menu-bundle.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/layouts/partials/docs/menu-bundle.html b/layouts/partials/docs/menu-bundle.html
index ddaac52..9927923 100644
--- a/layouts/partials/docs/menu-bundle.html
+++ b/layouts/partials/docs/menu-bundle.html
@@ -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 }}