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 }}