yagit

Yet another static site generator for Git 🙀️

Commit
2239a60472d214c839d4163c2039e2d06b25130d
Parent
fb0b4fd955826df525197e166063b755da5d9667
Author
Pablo <pablo-pie@riseup.net>
Date

Bug fix

Diffstats

1 files changed, 1 insertions, 1 deletions

Status Name Changes Insertions Deletions
Modified src/markdown.rs 2 files changed 1 1
diff --git a/src/markdown.rs b/src/markdown.rs
@@ -116,7 +116,7 @@ fn start_tag(
         write!(w, "<img src=\"{url}\" ", url = Escaped(&dest_url))?;
       } else {
         // relative URL
-        write!(w, "<img src=\"/{BLOB_SUBDIR}/{url}\" ",
+        write!(w, "<img src=\"./{BLOB_SUBDIR}/{url}\" ",
                   url = Escaped(&dest_url))?;
       };