add hugo_stats

This commit is contained in:
adrianj12 2024-08-04 03:41:24 +01:00
parent 293e2cf00d
commit d1de084ef8
2 changed files with 2 additions and 21 deletions

2
.gitignore vendored
View File

@ -1,2 +1,4 @@
public/
resources/
hugo_stats.json
.hugo_build.lock

View File

@ -1,21 +0,0 @@
[build]
command = "hugo --gc --minify -b $URL && npx pagefind --source 'public'"
publish = "public"
[build.environment]
HUGO_VERSION = "0.126.3"
HUGO_ENABLEGITINFO = "true"
[context.production.environment]
HUGO_ENV = "production"
[context.deploy-preview]
command = "hugo --gc --minify --buildFuture -b $DEPLOY_PRIME_URL && npx pagefind --source 'public'"
[context.branch-deploy]
command = "hugo --gc --minify -b $DEPLOY_PRIME_URL && npx pagefind --source 'public'"
[[plugins]]
package = "netlify-plugin-hugo-cache-resources"
[plugins.inputs]
debug = true