From 6c7ef74b557b8600e32cddef108f6af946e9de06 Mon Sep 17 00:00:00 2001 From: anoduck <9925396+anoduck@users.noreply.github.com> Date: Mon, 11 Aug 2025 18:19:28 -0400 Subject: fix: wip: revisions for hugo templating sys changes WIP: Revisions for fixing changes to hugo's templating system upgrade. BREAKING CHANGE: Will not build on versions of hugo prior to 0.145. --- config/_default/hugo.toml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'config/_default/hugo.toml') diff --git a/config/_default/hugo.toml b/config/_default/hugo.toml index 6c1f7ab..e16657c 100644 --- a/config/_default/hugo.toml +++ b/config/_default/hugo.toml @@ -14,6 +14,10 @@ summaryLength = 20 # See https://github.com/gohugoio/hugo/issues/7228#issuecomment-714490456 ignoreErrors = ["error-remote-getjson"] +ignoreFiles = ["/content/communication"] + +ignoreLogs = ["warn-invalid-arguments"] + timeout = "180s" languageCode = "en-us" @@ -78,11 +82,9 @@ home = ["HTML", "RSS", "REDIR"] keepWhitespace = true [module] -# replacements = "github.com/anoduck/mod-popup --> ../../mod-popup" [module.hugoVersion] extended = true - min = "0.134.0" - max = "2.0.0" + min = "0.136.3" [[module.mounts]] source = "archetypes" target = "archetypes" @@ -92,6 +94,9 @@ home = ["HTML", "RSS", "REDIR"] [[module.mounts]] source = "content" target = "content" + [[module.mounts]] + source = "data" + target = "data" [[module.mounts]] source = "i18n" target = "i18n" @@ -99,7 +104,6 @@ home = ["HTML", "RSS", "REDIR"] source = "layouts" target = "layouts" [[module.mounts]] - excludeFiles = "emails/*" source = "static" target = "static" [[module.imports]] @@ -114,6 +118,8 @@ home = ["HTML", "RSS", "REDIR"] path = "github.com/anoduck/mod-timelinejs" [[module.imports]] path = "github.com/anoduck/mod-alwaysdark" + [[module.imports]] + path = "github.com/gethinode/mod-hubspot" [[module.imports]] path = "github.com/anoduck/mod-countup" [[module.imports]] -- cgit v1.2.3