hakyll 3.2.0.7 → 3.2.0.8
raw patch · 2 files changed
+3/−2 lines, 2 files
Files
- hakyll.cabal +1/−1
- src/Hakyll/Web/Urls/Relativize.hs +2/−1
hakyll.cabal view
@@ -1,5 +1,5 @@ Name: hakyll-Version: 3.2.0.7+Version: 3.2.0.8 Synopsis: A static website compiler library Description:
src/Hakyll/Web/Urls/Relativize.hs view
@@ -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