Merge commit 'a024bc7d76fcc5e49e8210f9b0896db9ef21861a'

This commit is contained in:
Bjørn Erik Pedersen
2025-02-13 10:40:34 +01:00
817 changed files with 5301 additions and 14766 deletions

View File

@@ -3,7 +3,7 @@
command = "hugo --gc --minify"
[build.environment]
HUGO_VERSION = "0.142.0"
HUGO_VERSION = "0.143.1"
[context.production.environment]
HUGO_ENV = "production"
@@ -16,7 +16,7 @@
HUGO_ENV = "production"
[context.deploy-preview]
command = "hugo --gc --minify --buildFuture -b $DEPLOY_PRIME_URL"
command = "hugo --gc --minify --buildFuture -b $DEPLOY_PRIME_URL --enableGitInfo"
[context.branch-deploy]
command = "hugo --gc --minify -b $DEPLOY_PRIME_URL"
@@ -24,7 +24,32 @@
[context.next.environment]
HUGO_ENABLEGITINFO = "true"
[[redirects]]
from = "/npmjs/*"
to = "/npmjs/"
status = 200
[[headers]]
for = "/*.jpg"
[headers.values]
Cache-Control = "public, max-age=31536000"
[[headers]]
for = "/*.png"
[headers.values]
Cache-Control = "public, max-age=31536000"
[[headers]]
for = "/*.css"
[headers.values]
Cache-Control = "public, max-age=31536000"
[[headers]]
for = "/*.js"
[headers.values]
Cache-Control = "public, max-age=31536000"
[[headers]]
for = "/*.ttf"
[headers.values]
Cache-Control = "public, max-age=31536000"