hugo-theme-relearn/exampleSite/content/introduction/releasenotes/7/1.en.md
GitHub Actions Bot 28fce6b04c
Some checks failed
docs-build-deployment / Run deploy (push) Has been cancelled
docs-build / Run build (push) Has been cancelled
Ship tag 7.1.1
2024-10-25 06:34:18 +00:00

1.7 KiB

+++ disableToc = false hidden = true title = "Version 7.1" type = "releasenotes" weight = -1 +++

7.1.0 (2024-10-25)

Change

  • {{% badge style="note" title=" " %}}Change{{% /badge %}} The sidebar menus are now completely configurable.

    This is provided by the new parameter sidebarmenus. With the new system, you can

    • show arbitrary amounts of menus
    • set headings for each menu
    • base it on your page structure or use Hugo's menu feature
    • configure a starting page if a menu is based on page structure
    • display unlimited nesting for both menu types
    • reconfigure the menus in a page's front matter
    • apply the usual parameter alwaysopen, collapsibleMenu, etc. for all menu types

    You don't need to change anything in your existing installation as the old configuration is used as a default.

  • {{% badge style="note" title=" " %}}Change{{% /badge %}} The children shortcode was changed to output a page's LinkTitle instead of previously using the Title.

    As the shortcode always outputs subpages in context of the parent page, it functions similar to the sidebar menu. The sidebar menu itself uses the LinkTitle for naming the menu entries and so should the shortcode do.

    The parameter value sort=linktitle was deprecated for the easier sort=title. You can still use the old value but both behave the same way in sorting by LinkTitle.

New

  • {{% badge style="info" icon="plus-circle" title=" " %}}New{{% /badge %}} Menus created by your page structure are now able to contain arbitrary links inserted into the structure using the menuUrl or menuPageRef front matter.