git.iko.soy/typeable/pandoc
on master help sign in
Put insert-before text before the title h1 in HTML.

+ This is the documented behavior; the insert-before text comes after the <body> tag. + Resolves Issue #241.

commita59a14190686ceab44e8dd2ccb7d061f281f929f authorJohn MacFarlane <jgm@berkeley.edu> dateTue 13 Jul 2010, 19:30 (16 years ago) parent71b4700
2 files changed+4−4
templates/html.template+3−3 tests/s5.inserts.html+1−1
templates/html.template+3−3
@@ -41,12 +41,12 @@ $for(header-includes)$
4141$endfor$
4242</head>
4343<body>
44−$if(title)$
45−<h1 class="title">$title$</h1>
46−$endif$
4744$for(include-before)$
4845$include-before$
4946$endfor$
47+$if(title)$
48+<h1 class="title">$title$</h1>
49+$endif$
5050$if(toc)$
5151$toc$
5252$endif$
tests/s5.inserts.html+1−1
@@ -11,8 +11,8 @@
1111 STUFF INSERTED
1212</head>
1313<body>
14−<h1 class="title">My S5 Document</h1>
1514STUFF INSERTED
15+<h1 class="title">My S5 Document</h1>
1616<div id="first-slide"
1717><h1
1818 >First slide</h1