7
1
mirror of https://gitlab.com/ansol/web-ansol.org.git synced 2024-11-10 00:30:36 +00:00
web-ansol.org/themes/academic/netlify.toml
2020-06-11 12:46:16 +01:00

29 lines
708 B
TOML

[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"