hugo-theme-relearn/exampleSite/content/introduction/releasenotes/6/1.en.md
2024-10-11 23:02:00 +02:00

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 include shortcode 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 openapi shortcode 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 setting openapi.errorlevel to either warning or error in your hugo.toml if a path can not be resolved.

  • {{% badge style="info" icon="plus-circle" title=" " %}}New{{% /badge %}} Shortcodes supporting an errorlevel configuration 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 relref shortcode.

    While the usage of relref is obsolete and discouraged by Hugo for a while, existing installations may use it. In configurations using a baseURL with a subdirectory, and having relativeURLs=false (the default) Hugo's standard relref implementation 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.