Version 2.4
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
2.4.0 (2021-10-07)
Change
- Change Creation of customized stylesheets was simplified down to only contain the CSS variables. Everything else can and should be deleted from your custom stylesheet to assure everything works fine. For the predefined stylesheet variants, this change is already included.
New
-
New Hidden pages are displayed by default in their according tags page. You can now turn off this behavior by setting
disableTagHiddenPages=true
in yourhugo.toml
. -
New You can define the expansion state of your menus for the whole site by setting the
alwaysopen
option in yourhugo.toml
. Please see further documentation for possible values and default behavior. -
New New front matter
ordersectionsby
option to change immediate children sorting in menu andchildren
shortcode. Possible values aretitle
orweight
. -
New Alternate content of a page is now advertised in the HTML meta tags. See Hugo documentation.