Version 6.1
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.1.0 (2024-08-02)
Change
-
Change The
include
shortcode is now able to resolve links to pages as well as resources or files in the file system (the old behavior). -
Change 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
-
New 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 settingopenapi.errorlevel
to eitherwarning
orerror
in yourhugo.toml
if a path can not be resolved. -
New Shortcodes supporting an
errorlevel
configuration can now have overridden values in the front matter section of each individual page. -
New 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 abaseURL
with a subdirectory, and havingrelativeURLs=false
(the default) Hugo’s standardrelref
implementation was failing.The shortcode is deactivated by default and can be activated by setting
hugo.[params] disableDefaultRelref = true
params: disableDefaultRelref: true
{ "params": { "disableDefaultRelref": true } }
in your
hugo.toml
. Only do this if your site fulfills all of the above assumptions.