From b81aedb03f7ef890d6cf2b1027516f52a85637c9 Mon Sep 17 00:00:00 2001 From: Salim B Date: Sun, 2 May 2021 09:04:56 +0000 Subject: [PATCH] Fix page `.Kind` In case of a taxonomy term page, `.Kind` (at least in Hugo v0.83) returns the string **`"term"`**, not `taxonomyTerm`. --- content/en/variables/page.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/en/variables/page.md b/content/en/variables/page.md index 8bad66d4f..cbdd5b6e3 100644 --- a/content/en/variables/page.md +++ b/content/en/variables/page.md @@ -82,7 +82,7 @@ See [`.Scratch`](/functions/scratch/) for page-scoped, writable variables. : the meta keywords for the content. .Kind -: the page's *kind*. Possible return values are `page`, `home`, `section`, `taxonomy`, or `taxonomyTerm`. Note that there are also `RSS`, `sitemap`, `robotsTXT`, and `404` kinds, but these are only available during the rendering of each of these respective page's kind and therefore *not* available in any of the `Pages` collections. +: the page's *kind*. Possible return values are `page`, `home`, `section`, `taxonomy`, or `term`. Note that there are also `RSS`, `sitemap`, `robotsTXT`, and `404` kinds, but these are only available during the rendering of each of these respective page's kind and therefore *not* available in any of the `Pages` collections. .Language : a language object that points to the language's definition in the site `config`. `.Language.Lang` gives you the language code.