1.9 KiB
+++ disableToc = false hidden = true title = "Version 6.1" type = "releasenotes" weight = -1 +++
6.1.0 (2024-08-02)
Change
-
{{% badge style="note" title=" " %}}Change{{% /badge %}} The
includeshortcode is now able to resolve links to pages as well as resources or files in the file system (the old behavior). -
{{% badge style="note" title=" " %}}Change{{% /badge %}} To make the asset buster mechanism more robust, some internally used stylesheets where restructured. This generally should not affect your page in any negative way.
New
-
{{% badge style="info" icon="plus-circle" title=" " %}}New{{% /badge %}} The
openapishortcode is now able to resolve links to resources as well as to files in the file system (the old behavior). You can configure to generate warnings or errors during build by settingopenapi.errorlevelto eitherwarningorerrorin yourhugo.tomlif a path can not be resolved. -
{{% badge style="info" icon="plus-circle" title=" " %}}New{{% /badge %}} Shortcodes supporting an
errorlevelconfiguration can now have overridden values in the front matter section of each individual page. -
{{% badge style="info" icon="plus-circle" title=" " %}}New{{% /badge %}} The theme now comes with its own overridden version of the
relrefshortcode.While the usage of
relrefis obsolete and discouraged by Hugo for a while, existing installations may use it. In configurations using abaseURLwith a subdirectory, and havingrelativeURLs=false(the default) Hugo's standardrelrefimplementation was failing.The shortcode is deactivated by default and can be activated by setting
{{< multiconfig file=hugo >}} [params] disableDefaultRelref = true {{< /multiconfig >}}
in your
hugo.toml. Only do this if your site fulfills all of the above assumptions.