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 :)
This commit is contained in:
parent
cc46c81bbd
commit
005e1f00b6
|
@ -25,8 +25,7 @@ draft: Bool;
|
||||||
components: Array<String>;
|
components: Array<String>;
|
||||||
permalink: String;
|
permalink: String;
|
||||||
summary: String?;
|
summary: String?;
|
||||||
tags: Array<String>;
|
taxonomies: HashMap<String, Array<String>>;
|
||||||
category: String?;
|
|
||||||
extra: HashMap<String, Any>;
|
extra: HashMap<String, Any>;
|
||||||
// Naive word count, will not work for languages without whitespace
|
// Naive word count, will not work for languages without whitespace
|
||||||
word_count: Number;
|
word_count: Number;
|
||||||
|
|
Loading…
Reference in a new issue