diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Text/Hakyll/Page.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Text/Hakyll/Page.hs b/src/Text/Hakyll/Page.hs index 2eddf20..0b7776b 100644 --- a/src/Text/Hakyll/Page.hs +++ b/src/Text/Hakyll/Page.hs @@ -113,7 +113,7 @@ readPage pagePath = do b <- hGetContents handle return (md, b) else do b <- hGetContents handle - return ([], line ++ b) + return ([], line ++ "\n" ++ b) -- Render file let rendered = (renderFunction $ takeExtension path) body @@ -121,7 +121,7 @@ readPage pagePath = do [ ("body", rendered) , ("url", url) , ("path", pagePath) - ] ++ context + ] ++ metaData seq (($|) id rnf rendered) $ hClose handle |