diff options
author | Jasper Van der Jeugt <jaspervdj@gmail.com> | 2010-02-27 17:24:28 +0100 |
---|---|---|
committer | Jasper Van der Jeugt <jaspervdj@gmail.com> | 2010-02-27 17:24:28 +0100 |
commit | d980dd48ba958caf74c351c8e4797276efc724e1 (patch) | |
tree | 46e2883a46ca54e4b6aa33d9e01f6da46c9e23af /src/Text/Hakyll | |
parent | 37bed02f480db4d671ac78e6aec3e697164d9a7e (diff) | |
download | hakyll-d980dd48ba958caf74c351c8e4797276efc724e1.tar.gz |
Minor tweaks on site, made PagePath a newtype.
Diffstat (limited to 'src/Text/Hakyll')
-rw-r--r-- | src/Text/Hakyll/Renderables.hs | 4 |
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 |