From d4a886ed2a3093d01d220ed416e8cd384ce4ff59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Wed, 19 Feb 2020 09:16:27 +0100 Subject: [PATCH] Add Page.GetTerms Fixes #6905 --- content/en/templates/taxonomy-templates.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/content/en/templates/taxonomy-templates.md b/content/en/templates/taxonomy-templates.md index b82a5175c8..bef2d32264 100644 --- a/content/en/templates/taxonomy-templates.md +++ b/content/en/templates/taxonomy-templates.md @@ -216,6 +216,18 @@ 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" }}