summaryrefslogtreecommitdiff
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:12:34 +0200
commit5a0e1a3db5e6b74e7504b68e0b300c4365336397 (patch)
tree6c1c3a4956513a5f50e377c22d9f56e9de2a6e63
parent901b672107ef681830f7c9013bba444eb6c90d84 (diff)
downloadhakyll-5a0e1a3db5e6b74e7504b68e0b300c4365336397.tar.gz
Fix for new TagMap structure
-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