summaryrefslogtreecommitdiff
path: root/src/Text/Hakyll/Renderables.hs
diff options
context:
space:
mode:
authorJasper Van der Jeugt <jaspervdj@gmail.com>2010-03-05 12:48:52 +0100
committerJasper Van der Jeugt <jaspervdj@gmail.com>2010-03-05 12:48:52 +0100
commit45eb74655f60f9f5f13c6b6b52adada2265e80ee (patch)
tree79b17508e7dd7c0a2c287c3043e7240c1e2561f8 /src/Text/Hakyll/Renderables.hs
parent664111c00178039c5a68f62da7612fb04b25927c (diff)
downloadhakyll-45eb74655f60f9f5f13c6b6b52adada2265e80ee.tar.gz
Removed deprecated code.
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.