hugo-theme-relearn/exampleSite/content/basics/releasenotes/6/2.en.md
2024-10-11 16:46:46 +02:00

2 KiB

+++ disableToc = false hidden = true title = "Version 6.2" type = "releasenotes" weight = -2 +++

6.2.0 (2024-08-26)

Change

  • {{% badge style="note" title=" " %}}Change{{% /badge %}} The heading anchor links are extended in functionality.

    If you now click on it, not only is the link copied to the clipboard (previous behavior) but also the heading scrolls to the top of the page.

    If you dislike the new behavior, you can deactivate it by setting disableAnchorScrolling=true in your hugo.toml. See the docs for further options.

New

  • {{% badge style="info" icon="plus-circle" title=" " %}}New{{% /badge %}} If you are running Hugo {{% badge color="fuchsia" icon="fa-fw fab fa-hackerrank" title=" " %}}0.132.0{{% /badge %}} or later, the theme is now capable to print GitHub styled alerts.

  • {{% badge style="info" icon="plus-circle" title=" " %}}New{{% /badge %}} To support new severity levels for GitHub styled alerts, all shortcodes that support severity levels with their style parameter were expanded with the new severities caution and important and the color parameter was expanded with cyan and magenta. Please note, that coloring and icons of severities may defer from the display you see on GitHub.

  • {{% badge style="info" icon="plus-circle" title=" " %}}New{{% /badge %}} To support new severity levels for GitHub styled alerts, the new severities and their according colors are also available as CSS variables BOX-MAGENTA-color, BOX-MAGENTA-TEXT-color, BOX-CAUTION-color, BOX-CAUTION-TEXT-color, BOX-CYAN-color, BOX-CYAN-TEXT-color, BOX-IMPORTANT-color, BOX-IMPORTANT-TEXT-color. You don't need to change anything in your custom color stylesheet as appropriate default colors will be used.