bump: Home page has 8 posts.
This commit is contained in:
parent
5b8427babc
commit
2cf6104b48
2
site.hs
2
site.hs
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user