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

2.3 KiB

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

2.0.0 (2021-08-28)

Change

  • {{% badge style="note" title=" " %}}Change{{% /badge %}} Syntax highlighting was switched to the built in Hugo mechanism. You may need to configure a new stylesheet or decide to roll you own as described on in the Hugo documentation

  • {{% badge style="note" title=" " %}}Change{{% /badge %}} In the predefined stylesheets there was a typo and --MENU-HOME-LINK-HOVERED-color must be changed to --MENU-HOME-LINK-HOVER-color. You don't need to change anything in your custom color stylesheet as the old name will be used as a fallback.

  • {{% badge style="note" title=" " %}}Change{{% /badge %}} --MENU-HOME-LINK-color and --MENU-HOME-LINK-HOVER-color were missing in the documentation. You should add them to your custom stylesheets if you want to override the defaults.

  • {{% badge style="note" title=" " %}}Change{{% /badge %}} Arrow navigation and children shortcode were ignoring setting for ordersectionsby. This is now changed and may result in different sorting order of your sub pages.

  • {{% badge style="note" title=" " %}}Change{{% /badge %}} If hidden pages are accessed directly by typing their URL, they will be exposed in the menu.

  • {{% badge style="note" title=" " %}}Change{{% /badge %}} A page without a title will be treated as hidden=true.

New

  • {{% badge style="info" icon="plus-circle" title=" " %}}New{{% /badge %}} You can define the expansion state of your menus in the front matter. Please see further documentation for possible values and default behavior.

  • {{% badge style="info" icon="plus-circle" title=" " %}}New{{% /badge %}} New partials for defining pre/post content for menu items and the content. See documentation for further reading.

  • {{% badge style="info" icon="plus-circle" title=" " %}}New{{% /badge %}} Shortcode children with new parameter containerstyle.

  • {{% badge style="info" icon="plus-circle" title=" " %}}New{{% /badge %}} New shortcode include to include arbitrary file content into a page.