diff options
author | George Cushen <gcushen@users.noreply.github.com> | 2020-12-31 00:34:02 +0300 |
---|---|---|
committer | George Cushen <gcushen@users.noreply.github.com> | 2020-12-31 00:34:02 +0300 |
commit | 314778343e218d201e7ce88dc39aad4fe16a7fcc (patch) | |
tree | 3137e51978e8ec9ddc84dff964f31718bede1d8b /exampleSite | |
parent | 43b360627f81ebe2b50f586177694fd91bae8374 (diff) |
demo: re-add netlify.toml for demo
Diffstat (limited to 'exampleSite')
-rw-r--r-- | exampleSite/netlify.toml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/exampleSite/netlify.toml b/exampleSite/netlify.toml new file mode 100644 index 00000000..fde42acb --- /dev/null +++ b/exampleSite/netlify.toml @@ -0,0 +1,26 @@ +[build] + command = "hugo --gc --minify -b $URL" + publish = "public" + +[build.environment] + HUGO_VERSION = "0.79.1" + HUGO_ENABLEGITINFO = "true" + +[context.production.environment] + HUGO_ENV = "production" + +[context.deploy-preview] + command = "hugo --gc --minify --buildFuture -b $DEPLOY_PRIME_URL" + +[context.branch-deploy] + command = "hugo --gc --minify -b $DEPLOY_PRIME_URL" + +[[headers]] + for = "*.webmanifest" + [headers.values] + Content-Type = "application/manifest+json; charset=UTF-8" + +[[headers]] + for = "index.xml" + [headers.values] + Content-Type = "application/rss+xml" |