update netlify config

This commit is contained in:
John Bowdre 2022-04-25 12:00:37 -05:00
parent 9cd06b20ed
commit ee238ed1a9
3 changed files with 16 additions and 2 deletions

View file

@ -0,0 +1,2 @@
baseurl = "https://drafts.virtuallypotato.com/" # Include trailing slash

View file

@ -0,0 +1 @@
comments = false

View file

@ -2,10 +2,21 @@
publish = "public"
[build.environment]
HUGO_VERSION = "0.89.4"
HUGO_VERSION = "0.96.0"
[context.production]
command = "hugo"
[context.branch-deploy]
[context.staging]
command = "hugo --environment staging"
[[headers]]
for = "/*"
[headers.values]
X-Robots-Tag = "noindex"
[context.drafts]
command = "hugo --environment drafts"
[[headers]]
for = "/*"
[headers.values]
X-Robots-Tag = "noindex"