mirror of
https://github.com/simonmichael/hledger.git
synced 2024-11-09 00:15:48 +03:00
site: fix off-by-one indentation in code blocks, thanks to J. Van der Jeugt for spotting the cause
This commit is contained in:
parent
7a2ec8c036
commit
c68eec5afb
@ -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$"
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user