summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJasper Van der Jeugt <jaspervdj@gmail.com>2010-02-27 17:24:28 +0100
committerJasper Van der Jeugt <jaspervdj@gmail.com>2010-02-27 17:24:28 +0100
commitd980dd48ba958caf74c351c8e4797276efc724e1 (patch)
tree46e2883a46ca54e4b6aa33d9e01f6da46c9e23af /src
parent37bed02f480db4d671ac78e6aec3e697164d9a7e (diff)
downloadhakyll-d980dd48ba958caf74c351c8e4797276efc724e1.tar.gz
Minor tweaks on site, made PagePath a newtype.
Diffstat (limited to 'src')
-rw-r--r--src/Text/Hakyll/Renderables.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Text/Hakyll/Renderables.hs b/src/Text/Hakyll/Renderables.hs
index 0ccef5f..b16b2bd 100644
--- a/src/Text/Hakyll/Renderables.hs
+++ b/src/Text/Hakyll/Renderables.hs
@@ -93,8 +93,8 @@ instance Renderable CustomPage where
-- | PagePath is a class that wraps a FilePath. This is used to render Pages
-- without reading them first through use of caching.
-data PagePath = PagePath FilePath
- deriving (Ord, Eq, Read, Show)
+newtype PagePath = PagePath FilePath
+ deriving (Ord, Eq, Read, Show)
-- | Create a PagePath from a FilePath.
createPagePath :: FilePath -> PagePath