hugo-theme-relearn/exampleSite/content/introduction/releasenotes/5/22.en.md

38 lines
2.3 KiB
Markdown
Raw Normal View History

2024-09-18 18:36:42 +00:00
+++
disableToc = false
hidden = true
title = "Version 5.22"
type = "releasenotes"
weight = -22
+++
2024-09-18 18:47:07 +00:00
## 5.22.0 (2023-10-02) {#5-22-0}
2024-09-18 18:36:42 +00:00
### Change
- {{% badge style="note" title=" " %}}Change{{% /badge %}} This release fixes an issue where in unfortunate conditions DOM ids generated by Hugo may collide with DOM ids set by the theme. To avoid this, all theme DOM ids are now prefixed with `R-`.
If you haven't modified anything, everything is fine. Otherwise you have to check your custom CSS rules and JavaScript code.
- {{% badge style="note" title=" " %}}Change{{% /badge %}} You can now have structural sections in the hierarchical menu without generating a page for it.
This can come in handy, if content for such a section page doesn't make much sense to you. See [the documentation](authoring/frontmatter/navigationmenu#disable-section-pages) for how to do this.
2024-09-18 18:36:42 +00:00
2024-10-07 20:01:28 +00:00
This feature may require you to make changes to your existing installation if you are already using _[shortcuts to pages inside of your project](configuration/sidebar/shortcutmenu#displaying-pages-only-in-the-shortcuts-menu)_ with a _headless branch parent_.
2024-09-18 18:36:42 +00:00
2024-10-06 18:52:53 +00:00
In this case it is advised to remove the `title` from the headless branch parent's front matter, as it will otherwise appear in your breadcrumbs.
2024-09-18 18:36:42 +00:00
### New
2024-10-06 18:52:53 +00:00
- {{% badge style="info" icon="plus-circle" title=" " %}}New{{% /badge %}} It is now possible to overwrite the setting for `collapsibleMenu` of your `hugo.toml` inside of a page's front matter.
2024-09-18 18:36:42 +00:00
- {{% badge style="info" icon="plus-circle" title=" " %}}New{{% /badge %}} If a Mermaid graph is zoomable a button to reset the view is now added to the upper right corner. The button is only shown once the mouse is moved over the graph.
- {{% badge style="info" icon="plus-circle" title=" " %}}New{{% /badge %}} It is now possible to remove the root breadcrumb by setting `disableRootBreadcrumb=true` in your `hugo.toml`.
- {{% badge style="info" icon="plus-circle" title=" " %}}New{{% /badge %}} The output of the dedicated search page now displays the result's breadcrumb.
- {{% badge style="info" icon="plus-circle" title=" " %}}New{{% /badge %}} Table rows now change their background color on every even row.
- {{% badge style="info" icon="plus-circle" title=" " %}}New{{% /badge %}} Translation into Swahili. This language is not supported for search.