From 63e13f3d9252a24f80aad05b98dbb59e8a32ade4 Mon Sep 17 00:00:00 2001 From: Jasper Van der Jeugt Date: Wed, 6 Apr 2011 21:12:34 +0200 Subject: Fix for new TagMap structure --- examples/tagblog/hakyll.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples') 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 -- cgit v1.2.3