virtuallypotato/netlify.toml

22 lines
No EOL
393 B
TOML

[build]
publish = "public"
[build.environment]
HUGO_VERSION = "0.101.0"
[context.production]
command = "hugo"
[context.staging]
command = "hugo --environment staging"
[[headers]]
for = "/*"
[headers.values]
X-Robots-Tag = "noindex"
[context.drafts]
command = "hugo --environment drafts"
[[headers]]
for = "/*"
[headers.values]
X-Robots-Tag = "noindex"