fixed markdown template for index
This commit is contained in:
parent
0b91d4f69f
commit
00a6dc0dda
2 changed files with 7 additions and 6 deletions
|
@ -41,8 +41,9 @@ main = do
|
||||||
constField "title" "Home" <>
|
constField "title" "Home" <>
|
||||||
field "tags" (\_ -> renderTagCloud 85.0 300.0 tags) <>
|
field "tags" (\_ -> renderTagCloud 85.0 300.0 tags) <>
|
||||||
defaultContext
|
defaultContext
|
||||||
getResourceBody >>= myPandoc
|
getResourceBody
|
||||||
>>= applyAsTemplate indexCtx
|
>>= applyAsTemplate indexCtx
|
||||||
|
>>= renderPandoc
|
||||||
>>= loadAndApplyTemplate "templates/default.html" baseCtx
|
>>= loadAndApplyTemplate "templates/default.html" baseCtx
|
||||||
>>= relativizeUrls
|
>>= relativizeUrls
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue