From 9bbb8e552be88102df0523f536844f051aa07385 Mon Sep 17 00:00:00 2001 From: Marcin Mierzejewski <363651+mrmierzejewski@users.noreply.github.com> Date: Fri, 9 Oct 2020 11:27:55 +0200 Subject: netlify: add base directory --- netlify.toml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/netlify.toml b/netlify.toml index 7107802..7f27f71 100644 --- a/netlify.toml +++ b/netlify.toml @@ -1,6 +1,7 @@ [build] +base = "exampleSite" publish = "public" -command = "hugo --gc --minify" +command = "hugo --gc --minify --themesDir ../../ -t hugo-theme-console" [context.production.environment] HUGO_VERSION = "0.76.3" @@ -8,20 +9,20 @@ HUGO_ENV = "production" HUGO_ENABLEGITINFO = "true" [context.split1] -command = "hugo --gc --minify --enableGitInfo" +command = "hugo --gc --minify --enableGitInfo --themesDir ../../ -t hugo-theme-console" [context.split1.environment] HUGO_VERSION = "0.76.3" HUGO_ENV = "production" [context.deploy-preview] -command = "hugo --gc --minify --buildFuture -b $DEPLOY_PRIME_URL" +command = "hugo --gc --minify --buildFuture -b $DEPLOY_PRIME_URL --themesDir ../../ -t hugo-theme-console" [context.deploy-preview.environment] HUGO_VERSION = "0.76.3" [context.branch-deploy] -command = "hugo --gc --minify -b $DEPLOY_PRIME_URL" +command = "hugo --gc --minify -b $DEPLOY_PRIME_URL --themesDir ../../ -t hugo-theme-console" [context.branch-deploy.environment] HUGO_VERSION = "0.76.3" -- cgit v1.2.3