[build] command = "zola build" publish = "public/" [build.environment] ZOLA_VERSION = "0.20.0" [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'; connect-src 'self'; 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 [[redirects]] from = "/js/script.js" to = "https://plausible.io/js/script.js" status = 200 [[redirects]] from = "/api/event" to = "https://plausible.io/api/event" status = 200 [[plugins]] package = "netlify-plugin-webmentions" [plugins.inputs] feedPath = "atom.xml"