From 295c363051f023fdf38571dcb428954d4f5a0f05 Mon Sep 17 00:00:00 2001 From: John Bowdre Date: Mon, 25 Jul 2022 08:47:16 -0500 Subject: [PATCH] updates for netlify vanilla build --- config/vanilla/config.toml | 2 ++ config/vanilla/params.toml | 1 + netlify.toml | 7 +++++++ 3 files changed, 10 insertions(+) create mode 100644 config/vanilla/config.toml create mode 100644 config/vanilla/params.toml diff --git a/config/vanilla/config.toml b/config/vanilla/config.toml new file mode 100644 index 0000000..9f3978b --- /dev/null +++ b/config/vanilla/config.toml @@ -0,0 +1,2 @@ +baseurl = "https://vanilla.virtuallypotato.com/" # Include trailing slash + diff --git a/config/vanilla/params.toml b/config/vanilla/params.toml new file mode 100644 index 0000000..95369bb --- /dev/null +++ b/config/vanilla/params.toml @@ -0,0 +1 @@ +comments = true \ No newline at end of file diff --git a/netlify.toml b/netlify.toml index 76f9c63..73b1773 100644 --- a/netlify.toml +++ b/netlify.toml @@ -16,6 +16,13 @@ [context.drafts] command = "hugo --environment drafts -D" + [[headers]] + for = "/*" + [headers.values] + X-Robots-Tag = "noindex" + +[context.vanilla] + command = "hugo --environment vanilla" [[headers]] for = "/*" [headers.values]