Skip to content

Commit

Permalink
Merge branch 'janraasch-master'
Browse files Browse the repository at this point in the history
  • Loading branch information
clente committed Mar 4, 2024
2 parents 3c5d3c4 + 16889fc commit 0d99fd1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -120,9 +120,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.
Expand All @@ -131,8 +131,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
Expand Down
File renamed without changes.

0 comments on commit 0d99fd1

Please sign in to comment.