From 592845985828f3ee135c309257e9bbcb305be1fa Mon Sep 17 00:00:00 2001 From: Jasper Van der Jeugt Date: Wed, 27 Jan 2010 18:02:43 +0100 Subject: 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, ... --- src/Text/Hakyll/Render.hs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/Text/Hakyll/Render.hs') 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 = -- cgit v1.2.3