Skip to content

Commit 689e957

Browse files
committed
docs: clarify tags positioning matcornic#513
1 parent d57ec1d commit 689e957

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

exampleSite/content/basics/migration/_index.en.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,17 +24,17 @@ This document shows you what's new in the latest release. For a detailed list of
2424

2525
Hugo's default taxonmies `tags` and `categories` are 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 your `config.toml`.
2626

27-
- {{% badge style="info" icon="plus-circle" title=" " %}}New{{% /badge %}} The new parameter `breadcrumbSeparator` is now available in your `config.toml` to change the - well - separator of the breadcrumb items. An appropriate default is in place if you do not configure anything.
28-
2927
- {{% badge style="info" icon="plus-circle" title=" " %}}New{{% /badge %}} To give you more flexibility in customizing your article layout a new partial `content-header.html` is introduced.
3028

31-
This came out of the requirement to customize the position of article tags, which by default is displayed above the title. A second requirement was to also show additional [taxonomies](https://gohugo.io/content-management/taxonomies/) not supported by the theme nativly. While Hugo supports tags and categories by default, the theme only displays tags.
29+
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](https://gohugo.io/content-management/taxonomies/) not supported by the theme natively. While Hugo supports tags and categories by default, the theme only displays tags.
3230

33-
So how does it work starting from the theme's default where tags are only shown above the title?
31+
So how to adjust the position of tags starting from the theme's default where tags are only shown above the title?
3432

3533
1. Hide tags above title: Overwrite `content-header.html` with an empty file.
36-
2. Show tags below title: Overwrite `heading-post.html` and add `{{- partial "tags.html" . }}` to it.
37-
3. Show tags below article: Overwrite `content-footer.html` and add `{{- partial "tags.html" . }}` to it.
34+
2. Show tags between title and content: Overwrite `heading-post.html` and add `{{- partial "tags.html" . }}` to it.
35+
3. Show tags below content: Overwrite `content-footer.html` and add `{{- partial "tags.html" . }}` to it.
36+
37+
- {{% badge style="info" icon="plus-circle" title=" " %}}New{{% /badge %}} The new parameter `breadcrumbSeparator` is now available in your `config.toml` to change the - well - separator of the breadcrumb items. An appropriate default is in place if you do not configure anything.
3838

3939
---
4040

0 commit comments

Comments
 (0)