aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorCaio Lente <7017340+clente@users.noreply.github.com>2023-10-27 19:31:22 -0300
committerCaio Lente <7017340+clente@users.noreply.github.com>2023-10-27 19:31:22 -0300
commit488fcc401fa605a5d79fbf98754556de2cf09d18 (patch)
treeaa3fbbcee5a1d6204a6c05be82ab4370f03bacbc /README.md
parent20cbc4a5ae79efe1d442a37cc4fccfb498e433f3 (diff)
parenta3f09559e465ea1255baf83345fc7fd1b2da62b3 (diff)
downloadhugo-bearcub-488fcc401fa605a5d79fbf98754556de2cf09d18.tar.gz
hugo-bearcub-488fcc401fa605a5d79fbf98754556de2cf09d18.tar.bz2
Merge remote-tracking branch 'origin/main' into style/herman
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/README.md b/README.md
index d6d242c..3b73cd4 100644
--- a/README.md
+++ b/README.md
@@ -119,6 +119,10 @@ already implemented:
writing the CSS you need in `assets/{custom_css}.css` and then including
`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.
- 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.