use abridge theme
This commit is contained in:
parent
abd6331f91
commit
2b9fe8c15f
21 changed files with 971 additions and 131 deletions
95
netlify.toml
Normal file
95
netlify.toml
Normal file
|
|
@ -0,0 +1,95 @@
|
|||
[build]
|
||||
publish = "public"
|
||||
command = "zola build && npm run abridge && zola build"
|
||||
|
||||
[build.environment]
|
||||
ZOLA_VERSION = "0.17.2"
|
||||
|
||||
[context.deploy-preview]
|
||||
command = "zola build --base-url $DEPLOY_PRIME_URL && npm run abridge && 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'; frame-ancestors 'none'; object-src 'none'; base-uri 'self'; manifest-src 'self'; worker-src 'self'; form-action 'self'; connect-src 'self' *.hyvor.com ws://*.hyvor.com; script-src 'self' talk.hyvor.com; img-src 'self' data: talk.hyvor.com cdn.cloudflare.com; frame-src 'self' www.youtube-nocookie.com player.vimeo.com streamable.com www.streamable.com; media-src 'self' data: cdn.cloudflare.com www.youtube-nocookie.com player.vimeo.com; font-src 'self' cdn.cloudflare.com cdn.jsdelivr.net fonts.gstatic.com; style-src 'self' talk.hyvor.com cdn.cloudflare.com cdn.jsdelivr.net fonts.googleapis.com;"
|
||||
[[headers]]
|
||||
for = "*.js"#javascript
|
||||
[headers.values]
|
||||
Cache-Control = "public, max-age=604800, must-revalidate"
|
||||
[[headers]]
|
||||
for = "*.css"#stylesheet
|
||||
[headers.values]
|
||||
Cache-Control = "public, max-age=604800, must-revalidate"
|
||||
[[headers]]
|
||||
for = "*.svg"#image/favicon
|
||||
[headers.values]
|
||||
Cache-Control = "public, max-age=604800"
|
||||
[[headers]]
|
||||
for = "*.png"#image/favicon
|
||||
[headers.values]
|
||||
Cache-Control = "public, max-age=604800"
|
||||
[[headers]]
|
||||
for = "*.ico"#image/favicon
|
||||
[headers.values]
|
||||
Cache-Control = "public, max-age=604800"
|
||||
[[headers]]
|
||||
for = "*.jpg"#image
|
||||
[headers.values]
|
||||
Cache-Control = "public, max-age=604800"
|
||||
[[headers]]
|
||||
for = "*.jpeg"#image
|
||||
[headers.values]
|
||||
Cache-Control = "public, max-age=604800"
|
||||
[[headers]]
|
||||
for = "*.gif"#image
|
||||
[headers.values]
|
||||
Cache-Control = "public, max-age=604800"
|
||||
[[headers]]
|
||||
for = "*.webp"#image
|
||||
[headers.values]
|
||||
Cache-Control = "public, max-age=604800"
|
||||
[[headers]]
|
||||
for = "*.avif"#image
|
||||
[headers.values]
|
||||
Cache-Control = "public, max-age=604800"
|
||||
[[headers]]
|
||||
for = "*.mp4"#video
|
||||
[headers.values]
|
||||
Cache-Control = "public, max-age=604800"
|
||||
[[headers]]
|
||||
for = "*.webm"#video
|
||||
[headers.values]
|
||||
Cache-Control = "public, max-age=604800"
|
||||
[[headers]]
|
||||
for = "*.mp3"#audio
|
||||
[headers.values]
|
||||
Cache-Control = "public, max-age=604800"
|
||||
[[headers]]
|
||||
for = "*.ogg"#audio
|
||||
[headers.values]
|
||||
Cache-Control = "public, max-age=604800"
|
||||
[[headers]]
|
||||
for = "*.otf"#font
|
||||
[headers.values]
|
||||
Cache-Control = "public, max-age=604800"
|
||||
[[headers]]
|
||||
for = "*.eot"#font
|
||||
[headers.values]
|
||||
Cache-Control = "public, max-age=604800"
|
||||
[[headers]]
|
||||
for = "*.ttf"#font
|
||||
[headers.values]
|
||||
Cache-Control = "public, max-age=604800"
|
||||
[[headers]]
|
||||
for = "*.woff"#font
|
||||
[headers.values]
|
||||
Cache-Control = "public, max-age=604800"
|
||||
[[headers]]
|
||||
for = "*.woff2"#font
|
||||
[headers.values]
|
||||
Cache-Control = "public, max-age=604800"
|
||||
Loading…
Add table
Add a link
Reference in a new issue