summaryrefslogtreecommitdiff
path: root/src/Text/Hakyll/Render.hs
diff options
context:
space:
mode:
authorJasper Van der Jeugt <jaspervdj@gmail.com>2010-01-27 18:02:43 +0100
committerJasper Van der Jeugt <jaspervdj@gmail.com>2010-01-27 18:02:43 +0100
commit592845985828f3ee135c309257e9bbcb305be1fa (patch)
tree448833df96e0f708c1a8d4cc3ef62047b645d7e8 /src/Text/Hakyll/Render.hs
parentf06b77bdef3f240249aa549064bd384c0cebed0a (diff)
downloadhakyll-592845985828f3ee135c309257e9bbcb305be1fa.tar.gz
Added createListing, createListingWith functions.
These functions were added to have a simpler and more high-level way to do the common createCustomPage/renderAndConcat combination to create post lists, rss feeds, ...
Diffstat (limited to 'src/Text/Hakyll/Render.hs')
-rw-r--r--src/Text/Hakyll/Render.hs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Text/Hakyll/Render.hs b/src/Text/Hakyll/Render.hs
index 3329994..0802330 100644
--- a/src/Text/Hakyll/Render.hs
+++ b/src/Text/Hakyll/Render.hs
@@ -71,8 +71,8 @@ renderAndConcat :: Renderable a
renderAndConcat = renderAndConcatWith id
-- | Render each renderable with the given templates, then concatenate the
--- result. This function allows you to specify a "ContextManipulation" to
--- apply on every "Renderable".
+-- result. This function allows you to specify a @ContextManipulation@ to
+-- apply on every @Renderable@.
renderAndConcatWith :: Renderable a
=> ContextManipulation
-> [FilePath]
@@ -97,7 +97,7 @@ renderChain :: Renderable a => [FilePath] -> a -> Hakyll ()
renderChain = renderChainWith id
-- | A more custom render chain that allows you to specify a
--- "ContextManipulation" which to apply on the context when it is read first.
+-- @ContextManipulation@ which to apply on the context when it is read first.
renderChainWith :: Renderable a
=> ContextManipulation -> [FilePath] -> a -> Hakyll ()
renderChainWith manipulation templatePaths renderable =