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" <>
|
||||
field "tags" (\_ -> renderTagCloud 85.0 300.0 tags) <>
|
||||
defaultContext
|
||||
getResourceBody >>= myPandoc
|
||||
getResourceBody
|
||||
>>= applyAsTemplate indexCtx
|
||||
>>= renderPandoc
|
||||
>>= loadAndApplyTemplate "templates/default.html" baseCtx
|
||||
>>= relativizeUrls
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<ul>
|
||||
$for(posts)$
|
||||
<li>
|
||||
<a href="$url$">$title$</a> - $date$
|
||||
</li>
|
||||
$endfor$
|
||||
$for(posts)$
|
||||
<li>
|
||||
<a href="$url$">$title$</a> - $date$
|
||||
</li>
|
||||
$endfor$
|
||||
</ul>
|
||||
|
|
Loading…
Reference in a new issue