aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaio Lente <7017340+clente@users.noreply.github.com>2024-03-04 16:16:35 -0300
committerCaio Lente <7017340+clente@users.noreply.github.com>2024-03-04 16:16:35 -0300
commitd48d738e2498b728f6014f00e32a35d06e555205 (patch)
tree3384eee61136b5939b9eaa7519df90adf839f0bc
parent116e87f7d0f0983da1530ddb8831c070d3b147f5 (diff)
parent0d99fd11dc124ebdc98551ac20761bb8f25ad326 (diff)
downloadhugo-bearcub-d48d738e2498b728f6014f00e32a35d06e555205.tar.gz
hugo-bearcub-d48d738e2498b728f6014f00e32a35d06e555205.tar.bz2
Merge branch 'main' into style/herman
-rw-r--r--README.md16
-rw-r--r--exampleSite/hugo.toml (renamed from exampleSite/config.toml)0
2 files changed, 8 insertions, 8 deletions
diff --git a/README.md b/README.md
index 730302d..701d677 100644
--- a/README.md
+++ b/README.md
@@ -26,7 +26,7 @@ git submodule add https://github.com/clente/hugo-bearcub themes/hugo-bearcub
To finish off, append a line to the site configuration file:
```sh
-echo 'theme = "hugo-bearcub"' >> config.toml
+echo 'theme = "hugo-bearcub"' >> hugo.toml
```
## Features
@@ -85,8 +85,8 @@ have to think about it again. My `_headers` file, for example, looks like this:
### Multilingual
If you need to write a blog that supports more than one language, **Bear Cub**
-has you covered! Check out the demo's [`config.toml`
-file](https://github.com/clente/hugo-bearcub/blob/main/exampleSite/config.toml)
+has you covered! Check out the demo's [`hugo.toml`
+file](https://github.com/clente/hugo-bearcub/blob/main/exampleSite/hugo.toml)
for a sample of how you can setup multilingual support.
By default, the theme creates a translation button that gets disabled when the
@@ -122,9 +122,9 @@ already implemented:
`style: "{custom_css}.css"` in the [front
matter](https://gohugo.io/content-management/front-matter/) of said page.
- Conditional CSS (EXPERIMENTAL): since **Bear Cub** does syntax highlighting
- without inline styles (see `config.toml` for more information), it only load
- its `syntax.css` if, and only if, a code block is actually present in the
- current page.
+ without inline styles (see `hugo.toml` for more information), it only load its
+ `syntax.css` if, and only if, a code block is actually present in the current
+ page.
- Dynamic social card generation (EXPERIMENTAL): if you don't add preview images
to a post, this template will generate one based on the title. You can see an
example below.
@@ -133,8 +133,8 @@ already implemented:
## Configuration
-**Bear Cub** can be customized with a `config.toml` file. Check out the
-[configuration](https://github.com/clente/hugo-bearcub/blob/main/exampleSite/config.toml)
+**Bear Cub** can be customized with a `hugo.toml` file. Check out the
+[configuration](https://github.com/clente/hugo-bearcub/blob/main/exampleSite/hugo.toml)
of the [demo](https://clente.github.io/hugo-bearcub/) for more information.
```toml
diff --git a/exampleSite/config.toml b/exampleSite/hugo.toml
index 3c8b0d0..3c8b0d0 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/hugo.toml