From 4bde15156ea9fd53c490c7524b78dff9a8979f09 Mon Sep 17 00:00:00 2001 From: Sandro Leuchter Date: Thu, 13 Feb 2020 02:11:04 +0100 Subject: example.com as baseURL w/ netlify deployment under / --- netlify.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netlify.toml b/netlify.toml index 30d205b..962932c 100644 --- a/netlify.toml +++ b/netlify.toml @@ -1,6 +1,6 @@ [build] publish = "exampleSite/public" - command = "cd exampleSite && sed -i \"s/https\:\/\/example\.com\//${URL}\//g\" config.yaml && hugo --gc --themesDir ../.." + command = "cd exampleSite && sed -i s/https?.\/\/example\.com\//${URL}\//g config.yaml && hugo --gc --themesDir ../.." [build.environment] HUGO_VERSION = "0.63.2" -- cgit v1.2.3