diff options
author | Alan Pearce | 2023-09-09 19:23:38 +0200 |
---|---|---|
committer | Alan Pearce | 2023-09-09 19:23:38 +0200 |
commit | c8d206442c65eaf999445db6c104ee55a07dd931 (patch) | |
tree | 753a4e6d1c69753d3bc7b396a80465950ff66ecd /themes/bear/netlify.toml | |
parent | b2c15923b33fa65bffe8a5eaef869e6b66d70078 (diff) | |
parent | a961bc284bb130e44468c07aaaa028652c151e08 (diff) | |
download | website-c8d206442c65eaf999445db6c104ee55a07dd931.tar.lz website-c8d206442c65eaf999445db6c104ee55a07dd931.tar.zst website-c8d206442c65eaf999445db6c104ee55a07dd931.zip |
Merge commit 'a961bc284bb130e44468c07aaaa028652c151e08'
Diffstat (limited to 'themes/bear/netlify.toml')
-rw-r--r-- | themes/bear/netlify.toml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/themes/bear/netlify.toml b/themes/bear/netlify.toml new file mode 100644 index 0000000..6be8468 --- /dev/null +++ b/themes/bear/netlify.toml @@ -0,0 +1,25 @@ +[build] +publish = "public" +command = "zola build" + +[build.environment] +# Set the version name that you want to use and Netlify will automatically use it. +ZOLA_VERSION = "0.17.2" + +# The magic for deploying previews of branches. +# We need to override the base url with whatever url Netlify assigns to our +# preview site. We do this using the Netlify environment variable +# `$DEPLOY_PRIME_URL`. + +[context.deploy-preview] +command = "zola build --base-url $DEPLOY_PRIME_URL" + +[[headers]] + for = "/*" + [headers.values] + X-Frame-Options = "DENY" + X-Content-Type-Options = "nosniff" + X-XSS-Protection = "1; mode=block" + Referrer-Policy = "strict-origin-when-cross-origin" + Strict-Transport-Security = "max-age=63072000; includeSubdomains" + Content-Security-Policy = "default-src 'none'; img-src 'self'; object-src 'none'; script-src 'none'; style-src 'sha256-2Sbht7dvdhJX00j84akXy9AejYUf6sOM3OpwMxNiDXQ='; form-action 'none'; base-uri 'self'; frame-ancestors 'none'" |