summaryrefslogtreecommitdiff
path: root/examples/tagblog
diff options
context:
space:
mode:
authorJasper Van der Jeugt <jaspervdj@gmail.com>2011-04-06 21:12:34 +0200
committerJasper Van der Jeugt <jaspervdj@gmail.com>2011-04-06 21:13:03 +0200
commit63e13f3d9252a24f80aad05b98dbb59e8a32ade4 (patch)
treeb763f27aaeed700da57e9361a0ac790799bd3761 /examples/tagblog
parentce444a426ac037c2b32568d8e6325aa5762bf913 (diff)
downloadhakyll-63e13f3d9252a24f80aad05b98dbb59e8a32ade4.tar.gz
Fix for new TagMap structure
Diffstat (limited to 'examples/tagblog')
-rw-r--r--examples/tagblog/hakyll.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/tagblog/hakyll.hs b/examples/tagblog/hakyll.hs
index 53e635f..f8afdd5 100644
--- a/examples/tagblog/hakyll.hs
+++ b/examples/tagblog/hakyll.hs
@@ -52,7 +52,7 @@ main = hakyll $ do
-- Add a tag list compiler for every tag
match "tags/*" $ route $ setExtension ".html"
metaCompile $ require_ "tags"
- >>> arr (M.toList . tagsMap)
+ >>> arr tagsMap
>>> arr (map (\(t, p) -> (tagIdentifier t, makeTagList t p)))
-- Render RSS feed