diff --git a/hakyll.cabal b/hakyll.cabal
--- a/hakyll.cabal
+++ b/hakyll.cabal
@@ -1,5 +1,5 @@
 Name:    hakyll
-Version: 3.2.0.7
+Version: 3.2.0.8
 
 Synopsis: A static website compiler library
 Description:
diff --git a/src/Hakyll/Web/Urls/Relativize.hs b/src/Hakyll/Web/Urls/Relativize.hs
--- a/src/Hakyll/Web/Urls/Relativize.hs
+++ b/src/Hakyll/Web/Urls/Relativize.hs
@@ -44,4 +44,5 @@
                -> String  -- ^ Resulting HTML
 relativizeUrls root = withUrls rel
   where
-    rel x = if "/" `isPrefixOf` x then root ++ x else x
+    isRel x = "/" `isPrefixOf` x && not ("//" `isPrefixOf` x)
+    rel x = if isRel x then root ++ x else x
