diff options
| author | Jasper Van der Jeugt <jaspervdj@gmail.com> | 2009-12-30 20:40:23 +0100 |
|---|---|---|
| committer | Jasper Van der Jeugt <jaspervdj@gmail.com> | 2009-12-30 20:40:23 +0100 |
| commit | ef7a0dfa0b7c15ec97ac0179aaca5aa105748868 (patch) | |
| tree | daab6a98403efa0f8ea034a3f216ee6ac2aa1272 /examples/simpleblog | |
| parent | dea9cb069860c0dc46a1c0895f8067c62d805722 (diff) | |
| download | hakyll-ef7a0dfa0b7c15ec97ac0179aaca5aa105748868.tar.gz | |
Wrote second tutorial.
Diffstat (limited to 'examples/simpleblog')
| -rw-r--r-- | examples/simpleblog/hakyll.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/simpleblog/hakyll.hs b/examples/simpleblog/hakyll.hs index d97584b..46dbb14 100644 --- a/examples/simpleblog/hakyll.hs +++ b/examples/simpleblog/hakyll.hs @@ -19,7 +19,7 @@ main = hakyll $ do -- Render index, including recent posts. let recentPosts = renderAndConcat "templates/postitem.html" $ take 3 renderablePosts renderChain ["index.html", "templates/default.html"] $ - createCustomPage "index.html" ("templates/postitem.html" : postPaths) + createCustomPage "index.html" ("templates/postitem.html" : take 3 postPaths) [("title", Left "Home"), ("posts", Right recentPosts)] -- Render all posts list. |
