adds hugo starter tailwind theme
This commit is contained in:
58
themes/hugo-starter-tailwind-basic/netlify.toml
Normal file
58
themes/hugo-starter-tailwind-basic/netlify.toml
Normal file
@ -0,0 +1,58 @@
|
||||
[build]
|
||||
publish = "public"
|
||||
command = "hugo --gc --minify -d public;"
|
||||
|
||||
[context.production.environment]
|
||||
HUGO_VERSION = "0.112.0"
|
||||
|
||||
[context.branch-deploy]
|
||||
command = "hugo --minify --gc -d public -b $DEPLOY_PRIME_URL"
|
||||
|
||||
[context.branch-deploy.environment]
|
||||
HUGO_VERSION = "0.112.0"
|
||||
|
||||
[context.deploy-preview]
|
||||
command = "hugo --gc --minify --buildFuture -b $DEPLOY_PRIME_URL"
|
||||
|
||||
[context.deploy-preview.environment]
|
||||
HUGO_VERSION = "0.112.0"
|
||||
|
||||
[[headers]]
|
||||
for = "/*.jpg"
|
||||
|
||||
[headers.values]
|
||||
Cache-Control = "public, max-age=604800"
|
||||
|
||||
[[headers]]
|
||||
for = "/*.png"
|
||||
|
||||
[headers.values]
|
||||
Cache-Control = "public, max-age=604800"
|
||||
|
||||
[[headers]]
|
||||
for = "/*.css"
|
||||
|
||||
[headers.values]
|
||||
Cache-Control = "public, max-age=604800"
|
||||
|
||||
[[headers]]
|
||||
for = "/*.js"
|
||||
|
||||
[headers.values]
|
||||
Cache-Control = "public, max-age=604800"
|
||||
|
||||
[[headers]]
|
||||
for = "/webfonts/*"
|
||||
|
||||
[headers.values]
|
||||
Cache-Control = "public, max-age=604800"
|
||||
|
||||
[[headers]]
|
||||
for = "/*"
|
||||
|
||||
[headers.values]
|
||||
X-Frame-Options = "DENY"
|
||||
X-XSS-Protection = "1; mode=block"
|
||||
X-Content-Type-Options = "nosniff"
|
||||
Referrer-Policy = "no-referrer"
|
||||
Content-Security-Policy = "script-src 'self' 'unsafe-inline'"
|
Reference in New Issue
Block a user