hugo-theme-relearn/exampleSite/content/introduction/releasenotes/5/24.en.md
2024-10-11 16:47:18 +02:00

4.9 KiB

+++ disableToc = false hidden = true title = "Version 5.24" type = "releasenotes" weight = -24 +++

5.24.0 (2024-02-28)

Hugo 0.112.4

  • {{% badge color="fuchsia" icon="fa-fw fab fa-hackerrank" title=" " %}}0.112.4{{% /badge %}} This release requires a newer Hugo version.

Change

  • {{% badge style="note" title=" " %}}Change{{% /badge %}} The topbar button received a way to add text next to the icon. For this, the original title option was renamed to hint while the new title option is now displayed next to the icon.

  • {{% badge style="note" title=" " %}}Change{{% /badge %}} The frontmatter option menuTitle is now deprecated in favor for Hugo's own linkTitle. You don't need to change anything as the old menuTitle option is still supported.

  • {{% badge style="note" title=" " %}}Change{{% /badge %}} The light themes have a bit more contrast for content text and headings. Also the syntaxhighlighting was changed to the more colorful MonokaiLight. This brings the syntaxhighlighting in sync with the corresponding dark theme variants, which are using Monokai. If you dislike this, you can create your own color variant file as described here.

New

  • {{% badge style="info" icon="plus-circle" title=" " %}}New{{% /badge %}} If the theme can not resolve a link to a page or image, you can now generate warnings or errors during build by setting link.errorlevel or image.errorlevel to either warning or error in your hugo.toml respectively. By default this condition is silently ignored and the link is written as-is.

    Please note that a page link will generate false negatives if uglyURLs=true and it references an ordinary page before {{% badge color="fuchsia" icon="fa-fw fab fa-hackerrank" title=" " %}}0.123.0{{% /badge %}}.

    Please note that an image link will generate false negatives if the file resides in your static directory.

  • {{% badge style="info" icon="plus-circle" title=" " %}}New{{% /badge %}} You now can configure additional options for every theme variant in your hugo.toml. This allows for optional advanced functionality. You don't need to change anything as the old configuration options will still work (but may generate warnings now).

    The advanced functionality allows you to set an explicit name for a theme variant and now allows for multiple auto mode variants that adjust to the light/dark preference of your OS settings.

  • {{% badge style="info" icon="plus-circle" title=" " %}}New{{% /badge %}} New partial for defining the heading. See documentation for further reading.

  • {{% badge style="info" icon="plus-circle" title=" " %}}New{{% /badge %}} Support for Hugo's built-in figure shortcode.

  • {{% badge style="info" icon="plus-circle" title=" " %}}New{{% /badge %}} On taxonomy and term pages you can now use prev/next navigation as within the normal page structure.

  • {{% badge style="info" icon="plus-circle" title=" " %}}New{{% /badge %}} In additiion to the existing menu width customization, it is now also possible to set the width of the menu flyout for small screen sizes with the --MENU-WIDTH-S CSS property.

  • {{% badge style="info" icon="plus-circle" title=" " %}}New{{% /badge %}} Improvements for accessibility when tabbing through the page for images, links and tab handles.

  • {{% badge style="info" icon="plus-circle" title=" " %}}New{{% /badge %}} The editURL config parameter is now overwritable in your pages frontmatter. In addition it received more versatility by letting you control where to put the file path into the URL. This is achieved by replacing the variable ${FilePath} in your URL by the pages file path. You don't need to change anything in your existing configuration as the old way without the replacement variable still works.

  • {{% badge style="info" icon="plus-circle" title=" " %}}New{{% /badge %}} The themes config and frontmatter options received a comprehensive documentation update. In addition the theme switched from config.toml to hugo.toml.

  • {{% badge style="info" icon="plus-circle" title=" " %}}New{{% /badge %}} Restored compatibility with Hugo versions {{% badge color="fuchsia" icon="fa-fw fab fa-hackerrank" title=" " %}}0.121.0{{% /badge %}} or higher for the highlight shortcode. This does not change the minimum required Hugo version.

  • {{% badge style="info" icon="plus-circle" title=" " %}}New{{% /badge %}} Restored compatibility with Hugo versions {{% badge color="fuchsia" icon="fa-fw fab fa-hackerrank" title=" " %}}0.123.0{{% /badge %}} or higher for theme specific output formats and handling of taxonomy and term titles. This does not change the minimum required Hugo version.