diff options
author | Jasper Van der Jeugt <jaspervdj@gmail.com> | 2013-09-16 13:02:54 -0700 |
---|---|---|
committer | Jasper Van der Jeugt <jaspervdj@gmail.com> | 2013-09-16 13:02:54 -0700 |
commit | e9ec407ba9c3f12372f880b8cc28b69c754a2816 (patch) | |
tree | 139f864d8f48168c7840f3655cd31ca143775917 | |
parent | 11d5b8064a10eee1a34836051b0c2000fe8b03a4 (diff) | |
parent | a796988a1672fee709c52968347f43ad0bede508 (diff) | |
download | hakyll-e9ec407ba9c3f12372f880b8cc28b69c754a2816.tar.gz |
Merge pull request #179 from saeidw/windows-site-root
Fix incorrect output of toSiteRoot on Windows.
-rw-r--r-- | src/Hakyll/Web/Html.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Hakyll/Web/Html.hs b/src/Hakyll/Web/Html.hs index 3a0aa3b..f5a7ccc 100644 --- a/src/Hakyll/Web/Html.hs +++ b/src/Hakyll/Web/Html.hs @@ -25,7 +25,7 @@ import Data.Char (digitToInt, intToDigit, isDigit, toLower) import Data.List (isPrefixOf) import qualified Data.Set as S -import System.FilePath (joinPath, splitPath, +import System.FilePath.Posix (joinPath, splitPath, takeDirectory) import Text.Blaze.Html (toHtml) import Text.Blaze.Html.Renderer.String (renderHtml) |