mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-12-04 21:23:07 +00:00
34 lines
1.9 KiB
Markdown
34 lines
1.9 KiB
Markdown
+++
|
|
disableToc = false
|
|
hidden = true
|
|
title = "Version 6.1"
|
|
type = "releasenotes"
|
|
weight = -1
|
|
+++
|
|
|
|
## 6.1.0 (2024-08-02) {#6-1-0}
|
|
|
|
### Change
|
|
|
|
- {{% badge style="note" title=" " %}}Change{{% /badge %}} The [`include` shortcode](shortcodes/include) 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](shortcodes/openapi) 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](authoring/frontmatter/reference) 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**.
|