summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--examples/hakyll/index.markdown7
-rw-r--r--examples/hakyll/templates/default.html2
-rw-r--r--src/Text/Hakyll/Renderables.hs4
3 files changed, 7 insertions, 6 deletions
diff --git a/examples/hakyll/index.markdown b/examples/hakyll/index.markdown
index 7549d45..b7ecbe3 100644
--- a/examples/hakyll/index.markdown
+++ b/examples/hakyll/index.markdown
@@ -4,9 +4,10 @@ title: Home
## Overview
-Hakyll is a [Haskell](http://haskell.org) library for generating static sites.
-It is written in a very configurable way and uses an
-[xmonad](http://xmonad.org)-like DSL for configuration.
+Hakyll is a [Haskell](http://haskell.org) library for generating static sites,
+mostly aimed at small-to-medium sites and personal blogs. It is written in a
+very configurable way and uses an [xmonad](http://xmonad.org)-like DSL for
+configuration.
## Why static site generators?
diff --git a/examples/hakyll/templates/default.html b/examples/hakyll/templates/default.html
index 916b0c3..9bcd33a 100644
--- a/examples/hakyll/templates/default.html
+++ b/examples/hakyll/templates/default.html
@@ -11,7 +11,7 @@
<link rel="stylesheet" type="text/css" href="css/syntax.css" />
<!-- Metadata. -->
- <meta name="keywords" content="hakyll,static site generator,static,site,generator,haskell"/>
+ <meta name="keywords" content="hakyll,static site generator,static,site,generator,haskell,blog"/>
<meta name="description" content="Hakyll - A Static Site Generator in Haskell."/>
</head>
<body>
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