refactor(exampleSite/config.toml): remove themesDir-config
This config confuses people, see https://github.com/janraasch/hugo-scroll/issues/2
This commit is contained in:
parent
0fe91fc202
commit
fdcb6abc33
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
@ -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'
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue