From 2f100ecd019683e105921528b4e101e1f8601315 Mon Sep 17 00:00:00 2001 From: Vincent Prouillet Date: Mon, 16 Jul 2018 12:01:03 +0200 Subject: [PATCH] Fix path in windows for taxo rss --- components/site/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/site/src/lib.rs b/components/site/src/lib.rs index f12299b6..bfe72653 100644 --- a/components/site/src/lib.rs +++ b/components/site/src/lib.rs @@ -792,7 +792,7 @@ impl Site { context.add("config", &self.config); 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 { self.config.make_permalink("rss.xml") };