mirror of
https://github.com/TrezOne/congo-hindi-gujarati.git
synced 2026-07-23 19:08:02 -04:00
🥅 Add build warning when old theme params found
This commit is contained in:
@@ -1,3 +1,4 @@
|
|||||||
|
{{- partial "partials/functions/warnings.html" .Site -}}
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html
|
<html
|
||||||
lang="{{ with .Site.Params.isoCode | default (.Site.LanguageCode | default "en") }}
|
lang="{{ with .Site.Params.isoCode | default (.Site.LanguageCode | default "en") }}
|
||||||
|
|||||||
@@ -0,0 +1,6 @@
|
|||||||
|
{{ if ne .Site.Params.showAppearanceSwitcher nil }}
|
||||||
|
{{ warnf "[CONGO] Theme parameter `showAppearanceSwitcher` has been renamed to `footer.showAppearanceSwitcher`. Please update your site configuration." }}
|
||||||
|
{{ end }}
|
||||||
|
{{ if ne .Site.Params.showScrollToTop nil }}
|
||||||
|
{{ warnf "[CONGO] Theme parameter `showScrollToTop` has been renamed to `footer.showScrollToTop`. Please update your site configuration." }}
|
||||||
|
{{ end }}
|
||||||
Reference in New Issue
Block a user