mirror of
https://github.com/getzola/zola
synced 2024-11-10 06:14:19 +00:00
parent
91bf91a88b
commit
01597adfd2
2 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||
|
||||
|
|
|
@ -169,6 +169,7 @@ impl Taxonomy {
|
|||
let terms: Vec<SerializedTaxonomyItem> =
|
||||
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);
|
||||
|
|
Loading…
Reference in a new issue