mirror of
https://github.com/jbowdre/virtuallypotato.git
synced 2024-12-22 11:12:18 +00:00
updates for netlify vanilla build
This commit is contained in:
parent
d0eedee88e
commit
295c363051
3 changed files with 10 additions and 0 deletions
2
config/vanilla/config.toml
Normal file
2
config/vanilla/config.toml
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
baseurl = "https://vanilla.virtuallypotato.com/" # Include trailing slash
|
||||||
|
|
1
config/vanilla/params.toml
Normal file
1
config/vanilla/params.toml
Normal file
|
@ -0,0 +1 @@
|
||||||
|
comments = true
|
|
@ -16,6 +16,13 @@
|
||||||
|
|
||||||
[context.drafts]
|
[context.drafts]
|
||||||
command = "hugo --environment drafts -D"
|
command = "hugo --environment drafts -D"
|
||||||
|
[[headers]]
|
||||||
|
for = "/*"
|
||||||
|
[headers.values]
|
||||||
|
X-Robots-Tag = "noindex"
|
||||||
|
|
||||||
|
[context.vanilla]
|
||||||
|
command = "hugo --environment vanilla"
|
||||||
[[headers]]
|
[[headers]]
|
||||||
for = "/*"
|
for = "/*"
|
||||||
[headers.values]
|
[headers.values]
|
||||||
|
|
Loading…
Reference in a new issue