Eigenes warnings.html (statt Template) mit entfernter Warnung für Kompatibilität mit hugo 0.158+

This commit is contained in:
Sebastian Werner 2026-03-29 16:12:58 +02:00
parent 6f68efd950
commit ce98afff05

View File

@ -0,0 +1,9 @@
{{ if ne .Params.showAppearanceSwitcher nil }}
{{ warnf "[CONGO] Theme parameter `showAppearanceSwitcher` has been renamed to `footer.showAppearanceSwitcher`. Please update your site configuration." }}
{{ end }}
{{ if ne .Params.showScrollToTop nil }}
{{ warnf "[CONGO] Theme parameter `showScrollToTop` has been renamed to `footer.showScrollToTop`. Please update your site configuration." }}
{{ end }}
{{ if ne .Params.logo nil }}
{{ warnf "[CONGO] Theme parameter `logo` has been renamed to `header.logo`. Please update your site configuration." }}
{{ end }}