1.9 KiB
+++ disableToc = false hidden = true title = "Version 5.14" type = "releasenotes" weight = -14 +++
5.14.0 (2023-05-20)
New
-
{{% badge style="info" icon="plus-circle" title=" " %}}New{{% /badge %}} The taxonomy pages received some love in this release, making them better leverage available screen space and adding translation support for the taxonomy names.
Hugo's default taxonmies
tagsandcategoriesare already contained in the theme's i18n files. If you have self-defined taxonomies, you can add translations by adding them to your own i18n files. If you don't provide translations, the singualar and plural forms are taken as configured in yourhugo.toml. -
{{% badge style="info" icon="plus-circle" title=" " %}}New{{% /badge %}} To give you more flexibility in customizing your article layout a new partial
content-header.htmlis introduced.This came out of the requirement to customize the position of article tags, which by default are displayed above the title. A second requirement was to also show additional taxonomies not supported by the theme natively. While Hugo supports tags and categories by default, the theme only displays tags.
So how to adjust the position of tags starting from the theme's default where tags are only shown above the title?
- Hide tags above title: Overwrite
content-header.htmlwith an empty file. - Show tags between title and content: Overwrite
heading-post.htmland add{{ partial "tags.html" . }}to it. - Show tags below content: Overwrite
content-footer.htmland add{{ partial "tags.html" . }}to it.
- Hide tags above title: Overwrite
-
{{% badge style="info" icon="plus-circle" title=" " %}}New{{% /badge %}} The new parameter
breadcrumbSeparatoris now available in yourhugo.tomlto change the - well - separator of the breadcrumb items. An appropriate default is in place if you do not configure anything.