This commit is contained in:
Vincent Prouillet 2024-06-21 20:30:11 +02:00 committed by Vincent Prouillet
parent 39dfc4b525
commit 233e1cdcbd
2 changed files with 4 additions and 2 deletions

View file

@ -2,6 +2,8 @@
## 0.19.1 (unreleased)
- Fix `config.generate_feeds` being still serialized as `config.generate_feed`
## 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.

View file

@ -108,7 +108,7 @@ pub struct SerializedConfig<'a> {
description: &'a Option<String>,
languages: HashMap<&'a String, &'a languages::LanguageOptions>,
default_language: &'a str,
generate_feed: bool,
generate_feeds: bool,
feed_filenames: &'a [String],
taxonomies: &'a [taxonomies::TaxonomyConfig],
author: &'a Option<String>,
@ -322,7 +322,7 @@ impl Config {
description: &options.description,
languages: self.languages.iter().filter(|(k, _)| k.as_str() != lang).collect(),
default_language: &self.default_language,
generate_feed: options.generate_feeds,
generate_feeds: options.generate_feeds,
feed_filenames: &options.feed_filenames,
taxonomies: &options.taxonomies,
author: &self.author,