meh
This commit is contained in:
parent
3d2df4a34e
commit
bbf3fb9550
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ main = do
|
|||
posts <- fmap (take 5) . recentFirst =<< loadAll "site/posts/*"
|
||||
let indexCtx = listField "posts" postCtx (return posts) <>
|
||||
constField "title" "Home" <>
|
||||
defaultContext
|
||||
defaultCtx
|
||||
getResourceBody
|
||||
>>= applyAsTemplate indexCtx
|
||||
>>= renderPandoc
|
||||
|
|
Loading…
Reference in a new issue