Fix build failure due to Hugo chaning _internal template behavior (#1050)

* Fix build failure due to Hugo chaning `_internal` template behavior

Signed-off-by: hossainemruz <hossainemruz@gmail.com>

* Update min Hugo version

Signed-off-by: hossainemruz <hossainemruz@gmail.com>

---------

Signed-off-by: hossainemruz <hossainemruz@gmail.com>
This commit is contained in:
Emruz Hossain 2025-04-14 22:48:34 +06:00 committed by GitHub
parent b79aee97d6
commit 7223361464
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 151 additions and 103 deletions

View file

@ -5,34 +5,34 @@ publish = "exampleSite/public"
[context.production.environment]
HUGO_ENABLEGITINFO = "true"
HUGO_ENV = "production"
HUGO_VERSION = "0.133.1"
NODE_VERSION = "v20.17.0"
NPM_VERSION = "10.8.3"
HUGO_VERSION = "0.146.4"
NODE_VERSION = "v23.1.0"
NPM_VERSION = "10.9.2"
[context.split1]
command = "cd exampleSite && hugo mod tidy && hugo mod npm pack && npm install && hugo --gc --minify --enableGitInfo"
[context.split1.environment]
HUGO_ENV = "production"
HUGO_VERSION = "0.133.1"
NODE_VERSION = "v20.17.0"
NPM_VERSION = "10.8.3"
HUGO_VERSION = "0.146.4"
NODE_VERSION = "v23.1.0"
NPM_VERSION = "10.9.2"
[context.deploy-preview]
command = "cd exampleSite && hugo mod tidy && hugo mod npm pack && npm install && hugo --gc --minify --buildFuture -b $DEPLOY_PRIME_URL"
[context.deploy-preview.environment]
HUGO_VERSION = "0.133.1"
NODE_VERSION = "v20.17.0"
NPM_VERSION = "10.8.3"
HUGO_VERSION = "0.146.4"
NODE_VERSION = "v23.1.0"
NPM_VERSION = "10.9.2"
[context.branch-deploy]
command = "cd exampleSite && hugo mod tidy && hugo mod npm pack && npm install && hugo --gc --minify -b $DEPLOY_PRIME_URL"
[context.branch-deploy.environment]
HUGO_VERSION = "0.133.1"
NODE_VERSION = "v20.17.0"
NPM_VERSION = "10.8.3"
HUGO_VERSION = "0.146.4"
NODE_VERSION = "v23.1.0"
NPM_VERSION = "10.9.2"
[context.next.environment]
HUGO_ENABLEGITINFO = "true"