summaryrefslogtreecommitdiff
path: root/src/Text
diff options
context:
space:
mode:
Diffstat (limited to 'src/Text')
-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