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:
Joe Clay 2018-08-12 13:09:46 +01:00 committed by GitHub
parent cc46c81bbd
commit 005e1f00b6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -25,8 +25,7 @@ draft: Bool;
components: Array<String>;
permalink: String;
summary: String?;
tags: Array<String>;
category: String?;
taxonomies: HashMap<String, Array<String>>;
extra: HashMap<String, Any>;
// Naive word count, will not work for languages without whitespace
word_count: Number;