-
Notifications
You must be signed in to change notification settings - Fork 2
/
netlify.toml
44 lines (36 loc) · 1.71 KB
/
netlify.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
[build]
command = "zola build"
publish = "public/"
[context.deploy-preview]
command = "zola build --drafts --base-url $DEPLOY_PRIME_URL"
[[headers]]
for = "/*"
[headers.values]
# Disable Google cohort tracking
Permission-Policy = "interest-cohort=()"
# Disallow showing the website in frames
X-Frame-Options = "DENY"
X-XSS-Protection = "1; mode=block"
X-Content-Type-Options = "nosniff"
X-Clacks-Overhead = "GNU Terry Pratchett"
Content-Security-Policy = "default-src 'self'; script-src 'self' https://plausible.io; connect-src https://plausible.io; img-src https:"
Permissions-Policy = "accelerometer=(), ambient-light-sensor=(), autoplay=(), battery=(), camera=(), cross-origin-isolated=(), display-capture=(), document-domain=(), encrypted-media=(), execution-while-not-rendered=(), execution-while-out-of-viewport=(), fullscreen=(), geolocation=(), gyroscope=(), keyboard-map=(), magnetometer=(), microphone=(), midi=(), navigation-override=(), payment=(), picture-in-picture=(), publickey-credentials-get=(), screen-wake-lock=(), sync-xhr=(), usb=(), web-share=(), xr-spatial-tracking=(), clipboard-read=(), clipboard-write=(), gamepad=(), speaker-selection=()"
Referrer-Policy = "no-referrer-when-downgrade"
[[headers]]
for = "/.well-known/webfinger"
[headers.values]
Content-Type = "application/jrd+json; charset=utf-8"
[[redirects]]
from = "/post"
to = "/"
force = true
[[redirects]]
from = "/.well-known/webfinger"
to = "https://fosstodon.org/.well-known/webfinger?resource=acct:hauleth@fosstodon.org"
status = 200
[[plugins]]
package = "netlify-plugin-webmentions"
[plugins.inputs]
feedPath = "atom.xml"
[[plugins]]
package = "netlify-plugin-submit-sitemap"