site: fix off-by-one indentation in code blocks, thanks to J. Van der Jeugt for spotting the cause

This commit is contained in:
Simon Michael 2010-07-29 20:35:41 +00:00
parent 7a2ec8c036
commit c68eec5afb

View File

@ -114,18 +114,18 @@ cfg = (defaultHakyllConfiguration baseurl) {
}
-- the body part of pandoc 1.5.1.1's html output template
pandocTemplate = "\
\$if(title)$\
\<h1 class=\"title\">$title$</h1>\
\$endif$\
\$for(include-before)$\
\$include-before$\
\$endfor$\
\$if(toc)$\
\$toc$\
\$endif$\
\$body$\
\$for(include-after)$\
\$include-after$\
\$endfor$\
\"
pandocTemplate = unlines
[ "$if(title)$"
, "<h1 class=\"title\">$title$</h1>"
, "$endif$"
, "$for(include-before)$"
, "$include-before$"
, "$endfor$"
, "$if(toc)$"
, "$toc$"
, "$endif$"
, "$body$"
, "$for(include-after)$"
, "$include-after$"
, "$endfor$"
]