diff --git a/components/config/src/config/languages.rs b/components/config/src/config/languages.rs index 0a56f84145..eca7bc9514 100644 --- a/components/config/src/config/languages.rs +++ b/components/config/src/config/languages.rs @@ -65,7 +65,6 @@ impl LanguageOptions { } merge_field!(self.title, other.title, "title"); merge_field!(self.description, other.description, "description"); - println!("For {:?} self is {:?} vs other {:?}", self.title, self.feed_filenames, other.feed_filenames); merge_field!( self.feed_filenames.is_empty() || self.feed_filenames == LanguageOptions::default().feed_filenames, diff --git a/components/config/src/config/mod.rs b/components/config/src/config/mod.rs index 3d025c1246..57ff1a8056 100644 --- a/components/config/src/config/mod.rs +++ b/components/config/src/config/mod.rs @@ -108,6 +108,7 @@ pub struct SerializedConfig<'a> { description: &'a Option, 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], @@ -322,6 +323,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, diff --git a/components/site/src/lib.rs b/components/site/src/lib.rs index d9ef3cbbea..f1911f9022 100644 --- a/components/site/src/lib.rs +++ b/components/site/src/lib.rs @@ -1047,8 +1047,8 @@ impl Site { Ok(()) } - /// Renders a feed for the given path and at the given path - /// If both arguments are `None`, it will render only the feed for the whole + /// Renders a feeds for the given path and at the given path + /// If both arguments are `None`, it will render only the feeds for the whole /// site at the root folder. pub fn render_feeds( &self,