Skip to content

Commit aeed18a

Browse files
committed
Closes #2537
1 parent 17f8292 commit aeed18a

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
## 0.19.1 (unreleased)
44

5+
- Fix `config.generate_feeds` being still serialized as `config.generate_feed`
6+
57
## 0.19.0 (2024-06-20)
68

79
- 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.

components/config/src/config/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ pub struct SerializedConfig<'a> {
108108
description: &'a Option<String>,
109109
languages: HashMap<&'a String, &'a languages::LanguageOptions>,
110110
default_language: &'a str,
111-
generate_feed: bool,
111+
generate_feeds: bool,
112112
feed_filenames: &'a [String],
113113
taxonomies: &'a [taxonomies::TaxonomyConfig],
114114
author: &'a Option<String>,
@@ -322,7 +322,7 @@ impl Config {
322322
description: &options.description,
323323
languages: self.languages.iter().filter(|(k, _)| k.as_str() != lang).collect(),
324324
default_language: &self.default_language,
325-
generate_feed: options.generate_feeds,
325+
generate_feeds: options.generate_feeds,
326326
feed_filenames: &options.feed_filenames,
327327
taxonomies: &options.taxonomies,
328328
author: &self.author,

0 commit comments

Comments
 (0)