too much `content`
2.2 KiB
+++ disableToc = false hidden = true title = "Version 5.27" type = "releasenotes" weight = -27 +++
5.27.0 (2024-04-07)
Hugo 0.121.0
- {{% badge color="fuchsia" icon="fa-fw fab fa-hackerrank" title=" " %}}0.121.0{{% /badge %}} This release requires a newer Hugo version.
Change
-
{{% badge style="note" title=" " %}}Change{{% /badge %}} If the theme is configured to generate warnings or errors during build by setting
image.errorlevel
to eitherwarning
orerror
in yourhugo.toml
, it will now also generate output if a link fragment is not found in the target page. -
{{% badge style="note" title=" " %}}Change{{% /badge %}} The dependency loader was made more versatile.
The configuration in your
hugo.toml
does not require thelocation
parameter anymore. If you still use it, the theme will work as before but will generate a warning. So you don't need to change anything, yet.With the new mechanism, your dependency loader now receives an additional
location
parameter instead that you can query to inject your dependencies in the desired location.By that you can now call the dependency mechanism in your own overriden partials by giving it a distinct
location
parameter. In addition your injected files can now be spread to multiple locations which wasn't previously possible.
New
-
{{% badge style="info" icon="plus-circle" title=" " %}}New{{% /badge %}} Additional styling was added for the native HTML elements
<mark>
and<kbd>
. To use them you must allow the usage of HTML in yourhugo.toml
. The Markdown documentation was enhanced for this. -
{{% badge style="info" icon="plus-circle" title=" " %}}New{{% /badge %}} You now can scroll forward and backward through all headings of a page by using ALT 🡑 and ALT 🡓. This also works for the
PRINT
output format. -
{{% badge style="info" icon="plus-circle" title=" " %}}New{{% /badge %}} The breadcrumbs used in the topbar, search results and the taxonomy term lists are now using the pages front matter
linktitle
instead oftitle
if set.