diff options
Diffstat (limited to 'site.hs')
-rw-r--r-- | site.hs | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -74,9 +74,12 @@ main = hakyllWith config $ do -- blog post archive create ["posts/index.html"] $ do + let title = "Archive" + route idRoute compile $ do let archiveCtx = + constField "title" title `mappend` field "posts" (\_ -> postList recentFirst) `mappend` defaultContext |