dot-hugo/netlify.toml

18 lines
492 B
TOML
Raw Normal View History

[build]
publish = "exampleSite/public"
command = "cd exampleSite && hugo --minify --gc --themesDir ../.."
[build.environment]
HUGO_VERSION = "0.87.0"
HUGO_THEME = "repo"
HUGO_BASEURL = "/"
[[headers]]
for = "/*" # This defines which paths this specific [[headers]] block will cover.
[headers.values]
X-Frame-Options = "DENY"
X-XSS-Protection = "1; mode=block"
Referrer-Policy = "same-origin"
Strict-Transport-Security = "max-age=31536000; includeSubDomains; preload"