From fdcb6abc33800ce0bfbfb0497bdd406a62b304d0 Mon Sep 17 00:00:00 2001 From: Jan Raasch Date: Sun, 16 Aug 2020 12:29:13 +0200 Subject: [PATCH] refactor(exampleSite/config.toml): remove themesDir-config This config confuses people, see https://github.com/janraasch/hugo-scroll/issues/2 --- .github/workflows/ci.yml | 2 +- README.md | 2 +- exampleSite/config.toml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8c7c33c..4e63ac2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,7 +22,7 @@ jobs: hugo-version: latest - name: Build local ./exampleSite - run: hugo --minify --gc --destination ../public --source ./exampleSite --baseURL https://janraasch.github.io/hugo-scroll/ + run: hugo --minify --gc --destination ../public --source ./exampleSite --themesDir ../.. --baseURL https://janraasch.github.io/hugo-scroll/ - name: Deploy to GitHub Pages if: github.event_name == 'push' diff --git a/README.md b/README.md index acb5771..e8c53bf 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ If you simply want to check out the `exampleSite`, you can run ``` git clone https://github.com/janraasch/hugo-scroll.git hugo-scroll cd hugo-scroll -hugo server --source=exampleSite +hugo server --source=exampleSite --themesDir=../.. ``` ## Adjust configuration / config.toml diff --git a/exampleSite/config.toml b/exampleSite/config.toml index fdf71de..91ecc97 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -5,8 +5,8 @@ disableKinds = ["section", "taxonomy", "term", "RSS", "robotsTXT"] defaultContentLanguage = "en" +# The name of this wonderful theme ;-). theme = "hugo-scroll" -themesDir = "../.." # The "title" of your website title = "Jane Doe - Nutrition Coach & Chef Consultant"