Fix path in windows for taxo rss

This commit is contained in:
Vincent Prouillet 2018-07-16 12:01:03 +02:00
parent 7bf36642d9
commit 2f100ecd01

View file

@ -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")
}; };