ecc423e9de
Adds support for writing blog posts and editing privacy policy and terms pages. To use, - You must already be using Netlify to deploy your site - Login to Netlify and setup your editors under the Identity section - Head over to YOUR_URL/admin/ See https://github.com/gcushen/hugo-academic/issues/1191
26 lines
591 B
TOML
26 lines
591 B
TOML
[build]
|
|
command = "hugo --gc --minify -b $URL"
|
|
publish = "public"
|
|
|
|
[build.environment]
|
|
HUGO_VERSION = "0.64.0"
|
|
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"
|