1.5 KiB
+++ disableToc = false hidden = true title = "Version 2.4" type = "releasenotes" weight = -4 +++
2.4.0 (2021-10-07)
Change
- {{% badge style="note" title=" " %}}Change{{% /badge %}} 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
-
{{% badge style="info" icon="plus-circle" title=" " %}}New{{% /badge %}} Hidden pages are displayed by default in their according tags page. You can now turn off this behavior by setting
disableTagHiddenPages=truein yourhugo.toml. -
{{% badge style="info" icon="plus-circle" title=" " %}}New{{% /badge %}} You can define the expansion state of your menus for the whole site by setting the
alwaysopenoption in yourhugo.toml. Please see further documentation for possible values and default behavior. -
{{% badge style="info" icon="plus-circle" title=" " %}}New{{% /badge %}} New front matter
ordersectionsbyoption to change immediate children sorting in menu andchildrenshortcode. Possible values aretitleorweight. -
{{% badge style="info" icon="plus-circle" title=" " %}}New{{% /badge %}} Alternate content of a page is now advertised in the HTML meta tags. See Hugo documentation.