From 02b62294ca103624401c9c870eb2a7e7f9f3373a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Fri, 7 Sep 2018 09:05:25 +0200 Subject: [PATCH] tpl/strings: Add strings.FirstUpper Fixes #5174 --- content/en/content-management/taxonomies.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/content/en/content-management/taxonomies.md b/content/en/content-management/taxonomies.md index 8260cfc1f..c06b2385b 100644 --- a/content/en/content-management/taxonomies.md +++ b/content/en/content-management/taxonomies.md @@ -150,9 +150,9 @@ Much like regular pages, taxonomy list [permalinks](/content-management/urls/) a {{% /note %}} {{% warning "`preserveTaxonomyNames` behaviour change" %}} -Before 0.49, Hugo would title-ize the taxonomy values for titles even if `preserveTaxonomyNames` was active. This no longer the case, which (for instance) makes it possible to have fully lower-case values. +Before 0.49, Hugo would make the first character upper case for the taxonomy values for titles even if `preserveTaxonomyNames` was active. This no longer the case, which (for instance) makes it possible to have fully lower-case values. -If you actually need to title-ize these values, you can do so using the [`title` template function][]. +If you actually need to title-ize these values, you can do so using the `strings.FirstUpper` template function. {{% /warning %}} ## Add Taxonomies to Content @@ -211,7 +211,6 @@ If you need to add custom metadata to your taxonomy terms, you will need to crea You can later use your custom metadata as shown in the [Taxonomy Terms Templates documentation](/templates/taxonomy-templates/#displaying-custom-metadata-in-taxonomy-terms-templates). -[`title` template function]: /functions/title/ [`urlize` template function]: /functions/urlize/ [content section]: /content-management/sections/ [content type]: /content-management/types/