mirror of
https://git.adityakumar.xyz/hugo-theme-even.git
synced 2024-09-07 22:40:39 +00:00
chore(netlify.toml): init configuration file
This commit is contained in:
parent
620ff8124d
commit
a652d0c0c6
24
netlify.toml
Normal file
24
netlify.toml
Normal file
|
@ -0,0 +1,24 @@
|
|||
[build]
|
||||
publish = "exampleSite/public"
|
||||
command = "hugo -s exampleSite"
|
||||
|
||||
[build.environment]
|
||||
HUGO_THEME = "repo"
|
||||
HUGO_THEMESDIR = "/opt/build"
|
||||
HUGO_VERSION = "0.74.3"
|
||||
|
||||
[context.production.environment]
|
||||
HUGO_BASEURL = "https://hugo-theme-even.netlify.app/"
|
||||
|
||||
[context.deploy-preview]
|
||||
command = "hugo -s exampleSite -b $DEPLOY_PRIME_URL"
|
||||
|
||||
[[headers]]
|
||||
for = "/*"
|
||||
[headers.values]
|
||||
Cache-Control = "public, max-age=600"
|
||||
|
||||
[[headers]]
|
||||
for = "*.(css|js|woff|woff2|ttf|png|jpg|jpeg)"
|
||||
[headers.values]
|
||||
Cache-Control = "public, max-age=2592000"
|
Loading…
Reference in a new issue