summaryrefslogtreecommitdiff
path: root/site.hs
diff options
context:
space:
mode:
Diffstat (limited to 'site.hs')
-rw-r--r--site.hs3
1 files changed, 3 insertions, 0 deletions
diff --git a/site.hs b/site.hs
index 7f90e8c..3fd4a94 100644
--- a/site.hs
+++ b/site.hs
@@ -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