mirror of https://github.com/jpanther/congo.git
Context in warnings.html is already .Site.
Fixes a build issue with Hugo 0.112.0. Fixes #560.pull/561/head
parent
d4b893ed6e
commit
d96fcff619
|
@ -1,9 +1,9 @@
|
||||||
{{ if ne .Site.Params.showAppearanceSwitcher nil }}
|
{{ if ne .Params.showAppearanceSwitcher nil }}
|
||||||
{{ warnf "[CONGO] Theme parameter `showAppearanceSwitcher` has been renamed to `footer.showAppearanceSwitcher`. Please update your site configuration." }}
|
{{ warnf "[CONGO] Theme parameter `showAppearanceSwitcher` has been renamed to `footer.showAppearanceSwitcher`. Please update your site configuration." }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ if ne .Site.Params.showScrollToTop nil }}
|
{{ if ne .Params.showScrollToTop nil }}
|
||||||
{{ warnf "[CONGO] Theme parameter `showScrollToTop` has been renamed to `footer.showScrollToTop`. Please update your site configuration." }}
|
{{ warnf "[CONGO] Theme parameter `showScrollToTop` has been renamed to `footer.showScrollToTop`. Please update your site configuration." }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ if ne .Site.Params.logo nil }}
|
{{ if ne .Params.logo nil }}
|
||||||
{{ warnf "[CONGO] Theme parameter `logo` has been renamed to `header.logo`. Please update your site configuration." }}
|
{{ warnf "[CONGO] Theme parameter `logo` has been renamed to `header.logo`. Please update your site configuration." }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
Loading…
Reference in New Issue