From 005e1f00b627bb5df6194b41f9a35dbcd7ce57bd Mon Sep 17 00:00:00 2001 From: Joe Clay <27cupsofcoffee@gmail.com> Date: Sun, 12 Aug 2018 13:09:46 +0100 Subject: [PATCH] Update page variable list for custom taxonomies I love the new support for custom taxonomies! I got a little thrown off when updating my site, though, as the docs didn't specify how the page would expose the taxonomies to the template. Wasn't too hard to figure it out, but I figured I'd save the next person who tries it the effort :) --- docs/content/documentation/templates/pages-sections.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/content/documentation/templates/pages-sections.md b/docs/content/documentation/templates/pages-sections.md index 297c95b3..4abd4a82 100644 --- a/docs/content/documentation/templates/pages-sections.md +++ b/docs/content/documentation/templates/pages-sections.md @@ -25,8 +25,7 @@ draft: Bool; components: Array; permalink: String; summary: String?; -tags: Array; -category: String?; +taxonomies: HashMap>; extra: HashMap; // Naive word count, will not work for languages without whitespace word_count: Number;