7
1
mirror of https://gitlab.com/ansol/web-ansol.org.git synced 2024-12-25 13:25:49 +00:00
web-ansol.org/themes/academic/netlify.toml

29 lines
708 B
TOML
Raw Normal View History

2020-06-11 11:46:16 +00:00
[build]
command = "hugo --gc --minify -b $URL --themesDir ../../"
base = "exampleSite"
publish = "exampleSite/public"
[build.environment]
HUGO_THEME = "repo"
HUGO_VERSION = "0.72.0"
HUGO_ENABLEGITINFO = "true"
[context.production.environment]
HUGO_ENV = "production"
[context.deploy-preview]
command = "hugo --gc --minify --buildFuture -b $DEPLOY_PRIME_URL --themesDir ../../"
[context.branch-deploy]
command = "hugo --gc --minify -b $DEPLOY_PRIME_URL --themesDir ../../"
[[headers]]
for = "*.webmanifest"
[headers.values]
Content-Type = "application/manifest+json; charset=UTF-8"
[[headers]]
for = "index.xml"
[headers.values]
Content-Type = "application/rss+xml"