summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJasper Van der Jeugt <jaspervdj@gmail.com>2010-01-18 08:17:41 +0100
committerJasper Van der Jeugt <jaspervdj@gmail.com>2010-01-18 08:17:41 +0100
commit8b668b394009cb2bcc96dd45abe255f63acc0963 (patch)
tree65cae3d3b129cc221c11fd49d5b33a6246801780 /src
parent10dd6dafc0cde5262da667abe7e93477688550eb (diff)
downloadhakyll-8b668b394009cb2bcc96dd45abe255f63acc0963.tar.gz
Fixed bug in section metadata writing.
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 db5360d..f2664e2 100644
--- a/src/Text/Hakyll/Page.hs
+++ b/src/Text/Hakyll/Page.hs
@@ -86,7 +86,7 @@ cachePage page@(Page mapping) = do
makeDirectories destination
liftIO writePageToCache
where
- (sectionMetaData, simpleMetaData) = M.partition (not . elem '\n')
+ (sectionMetaData, simpleMetaData) = M.partition (elem '\n')
(M.delete "body" mapping)
writePageToCache = do