Whole refactor to accommodate Hugo >=0.146.0.
Deploy Hugo Site / hugo-translations (push) Failing after 10s
Deploy Hugo Site / Check and Create PR (push) Successful in 17s

This commit is contained in:
2025-07-25 10:50:48 -04:00
parent 9f8a753d59
commit 5d32710ff4
707 changed files with 415 additions and 88623 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 }}