From 9acf269cea78f953d52d92e648177605c228b35f Mon Sep 17 00:00:00 2001 From: Jasper Van der Jeugt Date: Fri, 12 Mar 2010 16:46:27 +0100 Subject: Changes String to FilePath on appropriate places. --- src/Text/Hakyll/CreateContext.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Text/Hakyll') diff --git a/src/Text/Hakyll/CreateContext.hs b/src/Text/Hakyll/CreateContext.hs index 24a97dd..a23f213 100644 --- a/src/Text/Hakyll/CreateContext.hs +++ b/src/Text/Hakyll/CreateContext.hs @@ -36,7 +36,7 @@ createPage path = HakyllAction -- @HakyllAction () String@. The latter is preferred for more complex data, -- since it allows dependency checking. A @String@ is obviously more simple -- to use in some cases. -createCustomPage :: String +createCustomPage :: FilePath -> [(String, Either String (HakyllAction () String))] -> HakyllAction () Context createCustomPage url association = HakyllAction @@ -58,7 +58,7 @@ createCustomPage url association = HakyllAction -- item in the list is created by applying the given template to every -- renderable. You can also specify additional context to be included in the -- @CustomPage@. -createListing :: String -- ^ Destination of the page. +createListing :: FilePath -- ^ Destination of the page. -> [FilePath] -- ^ Templates to render items with. -> [HakyllAction () Context] -- ^ Renderables in the list. -> [(String, Either String (HakyllAction () String))] -- cgit v1.2.3