awesome-hugo/netlify.toml

26 lines
490 B
TOML

[build]
publish = "public"
command = "hugo"
[build.environment]
HUGO_VERSION = "0.78.2"
[context.production.environment]
HUGO_ENV = "production"
[context.deploy-preview]
command = "hugo -b $DEPLOY_PRIME_URL"
[context.branch-deploy]
command = "hugo -b $DEPLOY_PRIME_URL"
[[redirects]]
from = "https://awesome-hugo.netlify.app"
to = "https://www.awesome-hugo.dev"
status = 301
[[redirects]]
from = "https://awesome-hugo.dev"
to = "https://www.awesome-hugo.dev"
status = 301