on master help sign in
Changes String to FilePath on appropriate places.
commit9acf269cea78f953d52d92e648177605c228b35f authorJasper Van der Jeugt <jaspervdj@gmail.com> dateFri 12 Mar 2010, 16:46 (17 years ago) parente7918c3
1 file changed+2−2
src/Text/Hakyll/CreateContext.hs+2−2
src/Text/Hakyll/CreateContext.hs+2−2
@@ -36,7 +36,7 @@ createPage path = HakyllAction
3636-- @HakyllAction () String@. The latter is preferred for more complex data,
3737-- since it allows dependency checking. A @String@ is obviously more simple
3838-- to use in some cases.
39−createCustomPage :: String
39+createCustomPage :: FilePath
4040 -> [(String, Either String (HakyllAction () String))]
4141 -> HakyllAction () Context
4242createCustomPage url association = HakyllAction
@@ -58,7 +58,7 @@ createCustomPage url association = HakyllAction
5858-- item in the list is created by applying the given template to every
5959-- renderable. You can also specify additional context to be included in the
6060-- @CustomPage@.
61−createListing :: String -- ^ Destination of the page.
61+createListing :: FilePath -- ^ Destination of the page.
6262 -> [FilePath] -- ^ Templates to render items with.
6363 -> [HakyllAction () Context] -- ^ Renderables in the list.
6464 -> [(String, Either String (HakyllAction () String))]