summaryrefslogtreecommitdiff
path: root/src/Text/Hakyll/Renderables.hs
diff options
context:
space:
mode:
authorJasper Van der Jeugt <jaspervdj@gmail.com>2010-03-06 15:39:45 +0100
committerJasper Van der Jeugt <jaspervdj@gmail.com>2010-03-06 15:39:45 +0100
commit1736710b9e0685f3c3503519e38e9744ba9bb144 (patch)
tree1c79256afb9840a4ba7ce28aaeae41939f3615e6 /src/Text/Hakyll/Renderables.hs
parentf47fd1a967bb54fb09472287bcb97306979a88b1 (diff)
downloadhakyll-1736710b9e0685f3c3503519e38e9744ba9bb144.tar.gz
Added RSS module.
Diffstat (limited to 'src/Text/Hakyll/Renderables.hs')
-rw-r--r--src/Text/Hakyll/Renderables.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Hakyll/Renderables.hs b/src/Text/Hakyll/Renderables.hs
index 4c135b3..36fef09 100644
--- a/src/Text/Hakyll/Renderables.hs
+++ b/src/Text/Hakyll/Renderables.hs
@@ -38,7 +38,7 @@ createCustomPage url dependencies association = RenderAction
mtuple (a, b) = b >>= \b' -> return (a, b')
toHakyllString = second (either return runRenderAction)
assoc' = mapM (mtuple . toHakyllString) $ ("url", Left url) : association
- dataDependencies = (map snd association) >>= getDependencies
+ dataDependencies = map snd association >>= getDependencies
getDependencies (Left _) = []
getDependencies (Right x) = actionDependencies x