diff --git a/CHANGELOG.md b/CHANGELOG.md index 136edd38..163f13c3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ ## 0.10.2 (unreleased) - Fix link checker not looking for anchor with capital id/name +- Pass missing `lang` template parameter to taxonomy list template ## 0.10.1 (2020-03-12) diff --git a/components/library/src/taxonomies/mod.rs b/components/library/src/taxonomies/mod.rs index 036f4b9b..97be410a 100644 --- a/components/library/src/taxonomies/mod.rs +++ b/components/library/src/taxonomies/mod.rs @@ -169,6 +169,7 @@ impl Taxonomy { let terms: Vec = self.items.iter().map(|i| SerializedTaxonomyItem::from_item(i, library)).collect(); context.insert("terms", &terms); + context.insert("lang", &self.kind.lang); context.insert("taxonomy", &self.kind); context.insert("current_url", &config.make_permalink(&self.kind.name)); context.insert("current_path", &self.kind.name);