Releases: alanorth/hugo-theme-bootstrap4-blog
Releases · alanorth/hugo-theme-bootstrap4-blog
Version 1.6.0
Changed
- Migrate to dart sass from node-sass (see LibSass is Deprecated)
- Use new figure shortcode that automatically processes images in a post's page bundle to multiple resolutions and outputs an appropriate
<img>
srcset so a client can decide which image to download based on their resolution (the shortcode falls back to Hugo's default behavior to retrieve images from the static directory)
To see the new img srcset in action, check out this blog post which uses this theme: https://picturingjordan.com/2020/04/gadaras-octagonal-martyrium/. Open the network panel and resize the window or switch to responsive design mode, you will see a different image get downloaded.
Version 1.5.1
Updated
- Minor version bump for bootstrap, node-sass, and fontawesome
- Update to webpack 5 (brings better tree shaking, reduces fontawesome JS by 8KiB)
Fixed
- JSON-LD keyword formatting @jeremyrcampb #140
Added
- Ability to omit date in front matter @jeremyrcampb #141
Version 1.5.0
Updated
- i18n language keys for German (#dermellor, #131)
- Boostrap v4.5.0 (see release notes)
- Minor version bump for webpack, node-sass, and fontawesome
Changed
- Use Haven for GDPR-compliant popup instead of cookieconsent, which is now
configured as opt-in and does not load Google Analytics or send a hit until the user agrees.- Note to translators that some strings have changed, please check:
cookieAccept
: the string for the "Agree" buttoncookieDecline
: the string for the "Disagree" button
- Also, if you are using Google Analytics, please make sure your ID is defined at the site level, not in Params. See the exampleSite config. This is how Hugo docs does it.
- Note to translators that some strings have changed, please check:
Version 1.4.2
Version 1.4.1
Updated
- npm dependencies: rtlcss 2.5.0, webpack 4.42.0, fontawesome solid icons 5.12.1
Fixed
- Fix "Unparsable structured data" error in JSON-LD (@alanorth)
Version 1.4.0
The biggest change in this release is that we are now using Font Awesome 5 with SVG icons instead of webfonts. This unfortunately means we need to use JavaScript, but it also means we transfer 134 KiB less than before (40 of which is the JavaScript) because we are only loading the five icons we need (tag, category, facebook, twitter, linkedin). I know JavaScript sucks, but it's first party and doesn't have any tracking or anything.
Added
- Farsi strings for user interface (@alanorth)
Updated
- bootstrap 4.4.1 (@alanorth)
- Fix typo in README.md (@Xekon, #118)
- Font Awesome 5 (make sure you update any custom icons you might be using in your content, site layouts, partials, etc).
Changed
- Use Hugo's built-in subresource integrity support instead of the generatesri tooling that I wrote by hand a few years ago (#120, @alanorth)
- Use Font Awesome SVGs via JavaScript instead of web fonts (@alanorth)
- Category and tag links now have a trailing slash (#128, @alanorth)