Browse Source

Fix path in windows for taxo rss

index-subcmd
Vincent Prouillet 5 years ago
parent
commit
2f100ecd01
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      components/site/src/lib.rs

+ 1
- 1
components/site/src/lib.rs View File

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


Loading…
Cancel
Save