summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Text/Hakyll/Page.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Hakyll/Page.hs b/src/Text/Hakyll/Page.hs
index bae7fa6..28d3540 100644
--- a/src/Text/Hakyll/Page.hs
+++ b/src/Text/Hakyll/Page.hs
@@ -133,7 +133,7 @@ readPage pagePath = do
, ("path", pagePath)
] ++ metaData
- seq (($|) id rdeepseq rendered) $ hClose handle
+ seq (($|) id rdeepseq rendered) $ liftIO $ hClose handle
-- Cache if needed
if getFromCache then return () else cachePage page