mirror of
https://github.com/getzola/zola
synced 2024-11-10 06:14:19 +00:00
Closes #2537
This commit is contained in:
parent
39dfc4b525
commit
233e1cdcbd
2 changed files with 4 additions and 2 deletions
|
@ -2,6 +2,8 @@
|
||||||
|
|
||||||
## 0.19.1 (unreleased)
|
## 0.19.1 (unreleased)
|
||||||
|
|
||||||
|
- Fix `config.generate_feeds` being still serialized as `config.generate_feed`
|
||||||
|
|
||||||
## 0.19.0 (2024-06-20)
|
## 0.19.0 (2024-06-20)
|
||||||
|
|
||||||
- Updates the pulldown-cmark dependency to v0.11.0. This improves footnote handling, and may also introduce some minor behavior changes such as reducing the amount of unnecessary HTML-escaping of text content.
|
- Updates the pulldown-cmark dependency to v0.11.0. This improves footnote handling, and may also introduce some minor behavior changes such as reducing the amount of unnecessary HTML-escaping of text content.
|
||||||
|
|
|
@ -108,7 +108,7 @@ pub struct SerializedConfig<'a> {
|
||||||
description: &'a Option<String>,
|
description: &'a Option<String>,
|
||||||
languages: HashMap<&'a String, &'a languages::LanguageOptions>,
|
languages: HashMap<&'a String, &'a languages::LanguageOptions>,
|
||||||
default_language: &'a str,
|
default_language: &'a str,
|
||||||
generate_feed: bool,
|
generate_feeds: bool,
|
||||||
feed_filenames: &'a [String],
|
feed_filenames: &'a [String],
|
||||||
taxonomies: &'a [taxonomies::TaxonomyConfig],
|
taxonomies: &'a [taxonomies::TaxonomyConfig],
|
||||||
author: &'a Option<String>,
|
author: &'a Option<String>,
|
||||||
|
@ -322,7 +322,7 @@ impl Config {
|
||||||
description: &options.description,
|
description: &options.description,
|
||||||
languages: self.languages.iter().filter(|(k, _)| k.as_str() != lang).collect(),
|
languages: self.languages.iter().filter(|(k, _)| k.as_str() != lang).collect(),
|
||||||
default_language: &self.default_language,
|
default_language: &self.default_language,
|
||||||
generate_feed: options.generate_feeds,
|
generate_feeds: options.generate_feeds,
|
||||||
feed_filenames: &options.feed_filenames,
|
feed_filenames: &options.feed_filenames,
|
||||||
taxonomies: &options.taxonomies,
|
taxonomies: &options.taxonomies,
|
||||||
author: &self.author,
|
author: &self.author,
|
||||||
|
|
Loading…
Reference in a new issue