Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/alanorth/hugo-theme-bootstrap4-blog.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Orth <alan.orth@gmail.com>2020-12-05 19:58:33 +0300
committerAlan Orth <alan.orth@gmail.com>2020-12-05 19:59:06 +0300
commit82362818a108ddca7bb1bb9e622d4ac7c5b18f5d (patch)
treea4271e9c367099941f922eb19f3167055224df65
parent54f85c3bebeffbe6305a7f9e013b98d7840ab592 (diff)
README.md: Add note about new figure shortcode
-rw-r--r--README.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/README.md b/README.md
index 437d651..f009e03 100644
--- a/README.md
+++ b/README.md
@@ -18,6 +18,7 @@ See [picturingjordan.com](https://picturingjordan.com) for an example of this th
- Allow addition of custom `<head>` code in site's `layouts/partials/head-custom.html` (see [#17](https://github.com/alanorth/hugo-theme-bootstrap4-blog/pull/17))
- Configurable display of summaries of content in list templates.
- Configurable keywords for every post
+- Supports automatic generation of `<img>` srcsets for images in [page bundles](https://gohugo.io/content-management/page-bundles/) using a [new figure shortcode]https://cpbotha.net/2020/05/02/drop-in-replacement-for-hugo-figure-shortcode-with-responsive-img-srcset/) (falls back to default Hugo behavior of looking up images in the static directory)
## Usage
Clone the repository to your site's `themes` directory. Refer to [`exampleSite/config.toml`](https://github.com/alanorth/hugo-theme-bootstrap4-blog/blob/master/exampleSite/config.toml) for recommended configuration values.