Skip to content

Commit

Permalink
Closes #2537
Browse files Browse the repository at this point in the history
  • Loading branch information
Keats committed Jun 21, 2024
1 parent 17f8292 commit aeed18a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions components/config/src/config/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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>,
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit aeed18a

Please sign in to comment.