update netlify config

This commit is contained in:
John Bowdre 2022-04-25 12:00:37 -05:00
parent 4be9781778
commit ef92811f7b
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" publish = "public"
[build.environment] [build.environment]
HUGO_VERSION = "0.89.4" HUGO_VERSION = "0.96.0"
[context.production] [context.production]
command = "hugo" command = "hugo"
[context.branch-deploy] [context.staging]
command = "hugo --environment 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"