From 4bc34b8a98ffa1e7f3478a596b73c4ab12d9cb1b Mon Sep 17 00:00:00 2001 From: Jasper Van der Jeugt Date: Thu, 14 Jan 2010 20:46:08 +0100 Subject: Added ReaderT to our stack. --- src/Text/Hakyll/Renderables.hs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/Text/Hakyll/Renderables.hs') diff --git a/src/Text/Hakyll/Renderables.hs b/src/Text/Hakyll/Renderables.hs index 26d1e86..19f25b5 100644 --- a/src/Text/Hakyll/Renderables.hs +++ b/src/Text/Hakyll/Renderables.hs @@ -5,6 +5,7 @@ module Text.Hakyll.Renderables , createPagePath ) where +import Text.Hakyll.Hakyll (Hakyll) import System.FilePath (FilePath) import qualified Data.Map as M import Text.Hakyll.Page @@ -15,13 +16,14 @@ import Text.Hakyll.File data CustomPage = CustomPage { url :: String, dependencies :: [FilePath], - mapping :: [(String, Either String (IO String))] + mapping :: [(String, Either String (Hakyll String))] } -- | Create a custom page. createCustomPage :: String -- ^ Destination of the page, relative to _site. -> [FilePath] -- ^ Dependencies of the page. - -> [(String, Either String (IO String))] -- ^ Key - value mapping for rendering. + -> [(String, Either String (Hakyll String))] -- ^ Key - value + -- mapping. -> CustomPage createCustomPage = CustomPage -- cgit v1.2.3