Version 7.2
See the changelog of this version for a detailed list of changes.0.126.0 Minimum required Hugo version
Breaking Change requiring action after upgrade
Change Change of behavior, may require action
New New behavior, often introducing new options
7.2.0 (2024-12-10)
Change
-
Change The
expandshortcode was refactored and now internally uses thenoticeshortcode.Due to these changes,
expandandnoticewithstyle=transparentwill now generate slightly different margins. -
Change This release fixes a long standing issue, where loading a page with a non-default variant may caused screen flashing.
Fixing this resulted in major changes how stylesheets are bundled during built and ultimately leads to different stylesheets been loaded in the browser. If you haven’t done any undocumented stuff with the stylesheets, this change should not have any negative effects to your site.
You need to make changes to your custom theme variant stylesheet if it contains
@font-facerules - they need to be moved toassets/css/fonts.css,assets/css/custom.cssorlayouts/partials/custom-header.html- rules selecting the
htmlelement - replacehtmlwith:root
Also, please note that now the variant generator is not included in the theme release anymore but is only available in the docs. As a side effect, less JavaScript will be loaded on your site.
New
-
New As a fallout of fixing the flashing issue, you can now minify the bundled stylesheets by setting the
minifyparameter in yourhugo.toml. Without configuring this parameter, the theme will minify the stylesheets for production (hugo) but not for development (hugo server). -
New The
noticeshortcode was improved for accessibility and comes with a brand new parametergroupid. -
New The theme has updated its Mermaid dependency to 11.4.1. This adds support for Kanban diagrams.
-
New Translation into Persian. This language is not supported for search.