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