summaryrefslogtreecommitdiff
path: root/src/Text/Hakyll/Render
diff options
context:
space:
mode:
authorJasper Van der Jeugt <jaspervdj@gmail.com>2010-01-15 09:47:07 +0100
committerJasper Van der Jeugt <jaspervdj@gmail.com>2010-01-15 09:47:07 +0100
commit62330ceae51ea28f75768196ad5e3f93eb88b8a3 (patch)
treea3a45aa9e0d63c65eb4fc4e7a4277fde645b8f48 /src/Text/Hakyll/Render
parenta180016488d0fed843f525db824dc0c24cde90ca (diff)
downloadhakyll-62330ceae51ea28f75768196ad5e3f93eb88b8a3.tar.gz
Moved some more functions from the IO monad to the Hakyll monad stack.
Diffstat (limited to 'src/Text/Hakyll/Render')
-rw-r--r--src/Text/Hakyll/Render/Internal.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Hakyll/Render/Internal.hs b/src/Text/Hakyll/Render/Internal.hs
index e6379bd..e296dd2 100644
--- a/src/Text/Hakyll/Render/Internal.hs
+++ b/src/Text/Hakyll/Render/Internal.hs
@@ -87,7 +87,7 @@ writePage page = do
globalContext <- liftM hakyllGlobalContext ask
let destination = toDestination url
context = (M.singleton "root" $ toRoot url) `M.union` globalContext
- liftIO $ makeDirectories destination
+ makeDirectories destination
    -- Substitute $root here, just before writing.
liftIO $ writeFile destination $ finalSubstitute (getBody page) context
where