diff --git a/content/en/templates/taxonomy-templates.md b/content/en/templates/taxonomy-templates.md index 3f93052d9..b04a2e43f 100644 --- a/content/en/templates/taxonomy-templates.md +++ b/content/en/templates/taxonomy-templates.md @@ -124,8 +124,6 @@ Taxonomies can be ordered by either alphabetical key or by the number of content ### Order Alphabetically Example -In Hugo 0.55 and later you can do: - ```go-html-template ``` -Before that you would have to do something like: - -```go-html-template - -``` - - ## Order Content within Taxonomies @@ -220,8 +202,6 @@ Because we are leveraging the front matter system to define taxonomies for conte ### Example: List Tags in a Single Page Template -{{< new-in "0.65.0" >}} - ```go-html-template ``` -Before Hugo 0.65.0 you needed to do something like this: - -```go-html-template -{{ $taxo := "tags" }} - -``` - If you want to list taxonomies inline, you will have to take care of optional plural endings in the title (if multiple taxonomies), as well as commas. Let's say we have a taxonomy "directors" such as `directors: [ "Joel Coen", "Ethan Coen" ]` in the TOML-format front matter. To list such taxonomies, use the following: @@ -310,8 +276,6 @@ The following example displays all terms in a site's tags taxonomy: ### Example: List All Site Tags {#example-list-all-site-tags} -In Hugo 0.55 and later you can simply do: - ```go-html-template ``` -Before that you would do something like this: - -{{< todo >}}Clean up rest of the taxonomy examples re Hugo 0.55.{{< /todo >}} - -```go-html-template - -``` - ### Example: List All Taxonomies, Terms, and Assigned Content This example will list all taxonomies and their terms, as well as all the content assigned to each of the terms.