From 51396e6321b3eacb33e6a6e1808e6f0a98444d39 Mon Sep 17 00:00:00 2001 From: loikein <wanleiqiong@gmail.com> Date: Mon, 1 May 2023 17:37:53 +0100 Subject: [PATCH] minor adjustments --- exampleSite/config.yaml | 5 ++--- netlify.toml | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/exampleSite/config.yaml b/exampleSite/config.yaml index c6f1ee5..bae2f93 100644 --- a/exampleSite/config.yaml +++ b/exampleSite/config.yaml @@ -1,8 +1,7 @@ -# Remove this if your site folder is not inside the theme folder -themesDir: "../../" - # Set your theme here theme: hugo-tufte +# Remove this if your site folder is not inside the theme folder +themesDir: "../.." # The language of your website (see https://www.andiamo.co.uk/resources/iso-language-codes/ for reference) languageCode: en-US # If you write Chinese, Japanese or Korean, this helps with word counting diff --git a/netlify.toml b/netlify.toml index bb3a3d6..ccf8a0e 100644 --- a/netlify.toml +++ b/netlify.toml @@ -1,5 +1,5 @@ [build] -command = "hugo -s exampleSite --minify --gc" +command = "cd exampleSite && hugo --minify --gc --themesDir .. --theme ." publish = "exampleSite/public" [build.environment]