🚚 Move files around as per new Hugo layouts directory structure

This commit is contained in:
James Panther
2025-06-22 14:20:15 +10:00
parent ab268a7396
commit 99d5cf8b28
62 changed files with 55 additions and 43 deletions
+1
View File
@@ -0,0 +1 @@
{{ return time.Format (site.Params.dateFormat | default ":date_long") . }}
+3
View File
@@ -0,0 +1,3 @@
{{ $.Scratch.Set "searchCount" 0 }}
{{ $.Scratch.Set "switchCount" 0 }}
{{ $.Scratch.Set "localeCount" 0 }}
+12
View File
@@ -0,0 +1,12 @@
{{ 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 }}
{{ if .Author }}
{{ warnf "[CONGO] Theme parameter `author` block in `languages.xx.toml` has been renamed to `params.author`. Please update your site configuration." }}
{{ end }}