on master help sign in
Minor tweaks on site, made PagePath a newtype.
commitd980dd48ba958caf74c351c8e4797276efc724e1 authorJasper Van der Jeugt <jaspervdj@gmail.com> dateSat 27 Feb 2010, 17:24 (17 years ago) parent37bed02
3 files changed+7−6
examples/hakyll/index.markdown+4−3 examples/hakyll/templates/default.html+1−1 src/Text/Hakyll/Renderables.hs+2−2
examples/hakyll/index.markdown+4−3
@@ -4,9 +4,10 @@ title: Home
44
55## Overview
66
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
9−[xmonad](http://xmonad.org)-like DSL for configuration.
7+Hakyll is a [Haskell](http://haskell.org) library for generating static sites,
8+mostly aimed at small-to-medium sites and personal blogs. It is written in a
9+very configurable way and uses an [xmonad](http://xmonad.org)-like DSL for
10+configuration.
1011
1112## Why static site generators?
1213
examples/hakyll/templates/default.html+1−1
@@ -11,7 +11,7 @@
1111 <link rel="stylesheet" type="text/css" href="css/syntax.css" />
1212
1313 <!-- 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"/>
1515 <meta name="description" content="Hakyll - A Static Site Generator in Haskell."/>
1616 </head>
1717 <body>
src/Text/Hakyll/Renderables.hs+2−2
@@ -93,8 +93,8 @@ instance Renderable CustomPage where
9393
9494-- | PagePath is a class that wraps a FilePath. This is used to render Pages
9595-- without reading them first through use of caching.
96−data PagePath = PagePath FilePath
97− deriving (Ord, Eq, Read, Show)
96+newtype PagePath = PagePath FilePath
97+ deriving (Ord, Eq, Read, Show)
9898
9999-- | Create a PagePath from a FilePath.
100100createPagePath :: FilePath -> PagePath