hugo-theme-relearn/exampleSite/content/introduction/releasenotes/4/0.en.md
2024-10-11 16:47:18 +02:00

2.2 KiB

+++ disableToc = false hidden = true title = "Version 4.0" type = "releasenotes" weight = -0 +++

4.0.0 (2022-06-05)

Breaking

  • {{% badge style="warning" title=" " %}}Breaking{{% /badge %}} The custom_css config parameter was removed from the configuration. If used in an existing installation, it can be achieved by overriding the custom-header.html template in a much more generic manner.

  • {{% badge style="warning" title=" " %}}Breaking{{% /badge %}} Because anchor hover color was not configurable without introducing more complexity to the variant stylesheets, we decided to remove --MAIN-ANCHOR-color instead. You don't need to change anything in your custom color stylesheet as the anchors now get their colors from --MAIN-LINK-color and --MAIN-ANCHOR-HOVER-color respectively.

New

  • {{% badge style="info" icon="plus-circle" title=" " %}}New{{% /badge %}} All shortcodes now support named parameter. The positional parameter are still supported but will not be enhanced with new features, so you don't need to change anything in your installation.

    This applies to expand, include, notice and siteparam.

  • {{% badge style="info" icon="plus-circle" title=" " %}}New{{% /badge %}} The button shortcode received some love and now has a parameter for the color style similar to other shortcodes.

  • {{% badge style="info" icon="plus-circle" title=" " %}}New{{% /badge %}} New colors --PRIMARY-color and --SECONDARY-color were added to provide easier modification of your custom style. Shortcodes with a color style can now have primary or secondary as additional values.

    These two colors are the default for other, more specific color variables. You don't need to change anything in your existing custom color stylesheets as those variables get reasonable default values.

  • {{% badge style="info" icon="plus-circle" title=" " %}}New{{% /badge %}} Translation into Polish. This language is not supported for search.

  • {{% badge style="info" icon="plus-circle" title=" " %}}New{{% /badge %}} The documentation for all shortcodes were revised.