diff options
Diffstat (limited to 'src/collect_files.rs')
-rw-r--r-- | src/collect_files.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/collect_files.rs b/src/collect_files.rs index df4ac5e..14bf0c3 100644 --- a/src/collect_files.rs +++ b/src/collect_files.rs @@ -296,7 +296,7 @@ impl Website { pub fn has_static(&self, from: &impl LinkFrom, path: &str) -> Option<String> { // Attach parent if not an absolute path. let path = match !path.starts_with('/') { - true => collapse_path(&format!("{}{path}", make_url_safe(from.parent_url()))), + true => collapse_path(&format!("{}{path}", from.parent_url())), false => collapse_path(path), }; for file in &self.static_files { |