From ce98afff05e0bcc73f623b7790746ac0068b7e5f Mon Sep 17 00:00:00 2001 From: Sebastian Werner Date: Sun, 29 Mar 2026 16:12:58 +0200 Subject: [PATCH] =?UTF-8?q?Eigenes=20warnings.html=20(statt=20Template)=20?= =?UTF-8?q?mit=20entfernter=20Warnung=20f=C3=BCr=20Kompatibilit=C3=A4t=20m?= =?UTF-8?q?it=20hugo=200.158+?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- layouts/_partials/functions/warnings.html | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 layouts/_partials/functions/warnings.html diff --git a/layouts/_partials/functions/warnings.html b/layouts/_partials/functions/warnings.html new file mode 100644 index 0000000..d7cb617 --- /dev/null +++ b/layouts/_partials/functions/warnings.html @@ -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 }}