bump: Home page has 8 posts.

This commit is contained in:
Dhananjay Balan 2019-05-11 21:25:27 +02:00
parent 5b8427babc
commit 2cf6104b48

View File

@ -69,7 +69,7 @@ main = hakyllWith config $ do
compile $ do
posts <- recentFirst =<< loadAll "blog/*"
let indexCtx =
listField "posts" postCtx (return $ take 5 posts) `mappend`
listField "posts" postCtx (return $ take 8 posts) `mappend`
constField "title" "Home" `mappend`
tagsField "tags" tags `mappend`
defaultContext