Fix path in windows for taxo rss
This commit is contained in:
parent
7bf36642d9
commit
2f100ecd01
|
@ -792,7 +792,7 @@ impl Site {
|
||||||
context.add("config", &self.config);
|
context.add("config", &self.config);
|
||||||
|
|
||||||
let rss_feed_url = if let Some(ref base) = base_path {
|
let rss_feed_url = if let Some(ref base) = base_path {
|
||||||
self.config.make_permalink(&base.join("rss.xml").to_string_lossy())
|
self.config.make_permalink(&base.join("rss.xml").to_string_lossy().replace('\\', "/"))
|
||||||
} else {
|
} else {
|
||||||
self.config.make_permalink("rss.xml")
|
self.config.make_permalink("rss.xml")
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue