epub, epub3: added header-includes, include-before, include-after.
Closes jgm/pandoc#1987.
This commit is contained in:
parent
c3aa395c71
commit
bed3f14dbc
2 changed files with 18 additions and 0 deletions
|
@ -14,6 +14,9 @@ $endif$
|
|||
$for(css)$
|
||||
<link rel="stylesheet" type="text/css" href="$css$" />
|
||||
$endfor$
|
||||
$for(header-includes)$
|
||||
$header-includes$
|
||||
$endfor$
|
||||
</head>
|
||||
<body$if(coverpage)$ id="cover"$endif$>
|
||||
$if(titlepage)$
|
||||
|
@ -43,7 +46,13 @@ $if(rights)$
|
|||
<div class="rights">$rights$</div>
|
||||
$endif$
|
||||
$else$
|
||||
$for(include-before)$
|
||||
$include-before$
|
||||
$endfor$
|
||||
$body$
|
||||
$for(include-after)$
|
||||
$include-after$
|
||||
$endfor$
|
||||
$endif$
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -18,6 +18,9 @@ $endif$
|
|||
$for(css)$
|
||||
<link rel="stylesheet" type="text/css" href="$css$" />
|
||||
$endfor$
|
||||
$for(header-includes)$
|
||||
$header-includes$
|
||||
$endfor$
|
||||
</head>
|
||||
<body$if(coverpage)$ id="cover"$endif$>
|
||||
$if(titlepage)$
|
||||
|
@ -49,7 +52,13 @@ $if(rights)$
|
|||
$endif$
|
||||
</section>
|
||||
$else$
|
||||
$for(include-before)$
|
||||
$include-before$
|
||||
$endfor$
|
||||
$body$
|
||||
$for(include-after)$
|
||||
$include-after$
|
||||
$endfor$
|
||||
$endif$
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Reference in a new issue