Version 6.2
See the changelog of this version for a detailed list of changes.-
0.126.0 Minimum required Hugo version
-
Breaking Change requiring action after upgrade
-
Change Change of behavior, may require action
-
New New behavior, often introducing new options
6.2.0 (2024-08-26)
Change
-
Change 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 yourhugo.toml
. See the docs for further options.
New
-
New If you are running Hugo 0.132.0 or later, the theme is now capable to print GitHub alerts.
-
New To support new severity levels for GitHub alerts, all shortcodes that support severity levels with their
style
parameter were expanded with the new severitiescaution
andimportant
and thecolor
parameter was expanded withcyan
andmagenta
. Please note, that coloring and icons of severities may defer from the display you see on GitHub. -
New To support new severity levels for GitHub 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.