on master help sign in
Minor tweaks on site, made PagePath a newtype.
d980dd4Jasper Van der Jeugt
examples/hakyll/index.markdown+4−3
@@ -4,9 +4,10 @@ title: Home
4
4
5## Overview
5## Overview
6
6
7−Hakyll is a [Haskell](http://haskell.org) library for generating static sites.
7+Hakyll is a [Haskell](http://haskell.org) library for generating static sites,
8−It is written in a very configurable way and uses an
8+mostly aimed at small-to-medium sites and personal blogs. It is written in a
9−[xmonad](http://xmonad.org)-like DSL for configuration.
9+very configurable way and uses an [xmonad](http://xmonad.org)-like DSL for
10+configuration.
10
11
11## Why static site generators?
12## Why static site generators?
12
13
examples/hakyll/templates/default.html+1−1
@@ -11,7 +11,7 @@
11 <link rel="stylesheet" type="text/css" href="css/syntax.css" />
11 <link rel="stylesheet" type="text/css" href="css/syntax.css" />
12
12
13 <!-- Metadata. -->
13 <!-- Metadata. -->
14− <meta name="keywords" content="hakyll,static site generator,static,site,generator,haskell"/>
14+ <meta name="keywords" content="hakyll,static site generator,static,site,generator,haskell,blog"/>
15 <meta name="description" content="Hakyll - A Static Site Generator in Haskell."/>
15 <meta name="description" content="Hakyll - A Static Site Generator in Haskell."/>
16 </head>
16 </head>
17 <body>
17 <body>
src/Text/Hakyll/Renderables.hs+2−2
@@ -93,8 +93,8 @@ instance Renderable CustomPage where
93
93
94-- | PagePath is a class that wraps a FilePath. This is used to render Pages
94-- | PagePath is a class that wraps a FilePath. This is used to render Pages
95-- without reading them first through use of caching.
95-- without reading them first through use of caching.
96−data PagePath = PagePath FilePath
96+newtype PagePath = PagePath FilePath
97− deriving (Ord, Eq, Read, Show)
97+ deriving (Ord, Eq, Read, Show)
98
98
99-- | Create a PagePath from a FilePath.
99-- | Create a PagePath from a FilePath.
100createPagePath :: FilePath -> PagePath
100createPagePath :: FilePath -> PagePath