aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartijn Engler <martijnengler@users.noreply.github.com>2024-01-23 10:28:44 +0100
committerGitHub <noreply@github.com>2024-01-23 10:28:44 +0100
commitdec11203de4ad0877f4cb0fec4c0305c4fccca8e (patch)
tree508a977848092d7a2c54ae4482d8bec26836b01a
parent939a4e9e00e18d07ac8e3ba3f314c4e4b9e9f0ba (diff)
downloadhugo-bearcub-dec11203de4ad0877f4cb0fec4c0305c4fccca8e.tar.gz
hugo-bearcub-dec11203de4ad0877f4cb0fec4c0305c4fccca8e.tar.bz2
Use hugo.toml instead of config.toml (#74)
* Use hugo.toml instead of config.toml Use the file hugo.toml in both the README.md and the exampleSite, since Hugo will look for this file first. The current instructions (using config.toml) in a new Hugo site (that has a hugo.toml-file) means that the site doesn't work, or the theme is not activated. Note that this is a breaking change for sites running on older versions. (But v0.110.0 was released almost a year ago.) Relevant Hugo commit: https://github.com/gohugoio/hugo/commit/f38a2fbd2e4de7f095a833b448cb8bc053955ce2 * Require `hugo v0.110.0` > Make hugo.toml the new config.toml see https://github.com/gohugoio/hugo/releases/tag/v0.110.0 --------- Co-authored-by: Jan Raasch <425211+janraasch@users.noreply.github.com>
-rw-r--r--README.md6
-rw-r--r--exampleSite/hugo.toml (renamed from exampleSite/config.toml)0
-rw-r--r--theme.toml2
3 files changed, 4 insertions, 4 deletions
diff --git a/README.md b/README.md
index 066fbec..6c2304f 100644
--- a/README.md
+++ b/README.md
@@ -24,13 +24,13 @@ If you already have a Hugo site on your machine, you can simply add this theme v
git submodule add https://github.com/janraasch/hugo-bearblog.git themes/hugo-bearblog
```
-Then, adjust the `config.toml` as detailed below.
+Then, adjust the `hugo.toml` as detailed below.
For more information, read the official [setup guide][hugo-setup-guide] of Hugo.
-## Adjust configuration / config.toml
+## Adjust configuration / hugo.toml
-Please check out the [config.toml](https://github.com/janraasch/hugo-bearblog/blob/master/exampleSite/config.toml) included in the [exampleSite](https://github.com/janraasch/hugo-bearblog/tree/master/exampleSite) of this theme.
+Please check out the [hugo.toml](https://github.com/janraasch/hugo-bearblog/blob/master/exampleSite/hugo.toml) included in the [exampleSite](https://github.com/janraasch/hugo-bearblog/tree/master/exampleSite) of this theme.
## Content & structure
diff --git a/exampleSite/config.toml b/exampleSite/hugo.toml
index d67e845..d67e845 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/hugo.toml
diff --git a/theme.toml b/theme.toml
index 47199ab..066e67a 100644
--- a/theme.toml
+++ b/theme.toml
@@ -9,7 +9,7 @@ homepage = "https://github.com/janraasch/hugo-bearblog"
demosite = "https://janraasch.github.io/hugo-bearblog/"
tags = ["blog", "responsive", "minimal", "seo", "clean", "simple", "light", "minimalist", "mobile", "fast", "white", "minimalistic", "reading", "dark mode"]
features = ["favicon", "seo", "no stylesheets", "no javascript", "rss", "dark mode"]
-min_version = "0.73.0"
+min_version = "v0.110.0"
# https://gohugo.io/content-management/taxonomies#default-taxonomies
# https://gohugo.io/templates/taxonomy-templates/#example-list-tags-in-a-single-page-template
# https://gohugo.io/templates/taxonomy-templates/#example-list-all-site-tags