diff options
author | Jasper Van der Jeugt <jaspervdj@gmail.com> | 2011-04-06 21:12:34 +0200 |
---|---|---|
committer | Jasper Van der Jeugt <jaspervdj@gmail.com> | 2011-04-06 21:12:34 +0200 |
commit | 5a0e1a3db5e6b74e7504b68e0b300c4365336397 (patch) | |
tree | 6c1c3a4956513a5f50e377c22d9f56e9de2a6e63 | |
parent | 901b672107ef681830f7c9013bba444eb6c90d84 (diff) | |
download | hakyll-5a0e1a3db5e6b74e7504b68e0b300c4365336397.tar.gz |
Fix for new TagMap structure
-rw-r--r-- | examples/tagblog/hakyll.hs | 2 |
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 |