File tree 2 files changed +4
-2
lines changed
components/config/src/config
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,8 @@ pub struct LanguageOptions {
17
17
/// Whether to generate a feed for that language, defaults to `false`
18
18
pub generate_feed : bool ,
19
19
/// The filename to use for feeds. Used to find the template, too.
20
- /// Defaults to "atom.xml", with "rss.xml" also having a template provided out of the box.
20
+ /// Defaults to None, with "atom.xml" and "rss.xml" having templates provided out of the box.
21
+ /// If None, site config feed filename is used.
21
22
pub feed_filename : Option < String > ,
22
23
pub taxonomies : Vec < taxonomies:: TaxonomyConfig > ,
23
24
/// Whether to generate search index for that language, defaults to `false`
Original file line number Diff line number Diff line change @@ -66,7 +66,8 @@ pub struct Config {
66
66
/// The number of articles to include in the feed. Defaults to including all items.
67
67
pub feed_limit : Option < usize > ,
68
68
/// The filename to use for feeds. Used to find the template, too.
69
- /// Defaults to "atom.xml", with "rss.xml" also having a template provided out of the box.
69
+ /// Defaults to None, with "atom.xml" and "rss.xml" having templates provided out of the box.
70
+ /// If None, "atom.xml" is used for feed. Defined by DEFAULT_FEED_FILENAME
70
71
pub feed_filename : Option < String > ,
71
72
/// If set, files from static/ will be hardlinked instead of copied to the output dir.
72
73
pub hard_link_static : bool ,
You can’t perform that action at this time.
0 commit comments