summaryrefslogtreecommitdiff
path: root/src/Text/Hakyll/Renderables.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Text/Hakyll/Renderables.hs')
-rw-r--r--src/Text/Hakyll/Renderables.hs12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/Text/Hakyll/Renderables.hs b/src/Text/Hakyll/Renderables.hs
index b540d4b..00e11ca 100644
--- a/src/Text/Hakyll/Renderables.hs
+++ b/src/Text/Hakyll/Renderables.hs
@@ -2,9 +2,7 @@ module Text.Hakyll.Renderables
( createCustomPage
, createListing
, createListingWith
- , PagePath
, createPagePath
- , CombinedRenderable
, combine
, combineWithUrl
) where
@@ -80,11 +78,6 @@ createListingWith manipulation url template renderables additional =
concatenation = renderAndConcatWith manipulation [template] renderables
additional' = map (second Left) additional
--- | PagePath is a class that wraps a FilePath. This is used to render Pages
--- without reading them first through use of caching.
-newtype PagePath = PagePath FilePath
- deriving (Ord, Eq, Read, Show)
-
-- | Create a PagePath from a FilePath.
createPagePath :: FilePath -> RenderAction () Context
createPagePath path = RenderAction
@@ -93,11 +86,6 @@ createPagePath path = RenderAction
, actionFunction = const (readPage path)
}
--- | A combination of two other renderables.
-data CombinedRenderable a b = CombinedRenderable a b
- | CombinedRenderableWithUrl FilePath a b
- deriving (Ord, Eq, Read, Show)
-
-- | Combine two renderables. The url will always be taken from the first
-- @Renderable@. Also, if a `$key` is present in both renderables, the
-- value from the first @Renderable@ will be taken as well.