Add abstract to default html template (#7588)
This commit is contained in:
parent
fb91a91615
commit
d908e31fe6
3 changed files with 16 additions and 0 deletions
|
@ -46,6 +46,11 @@ $endfor$
|
||||||
$if(date)$
|
$if(date)$
|
||||||
<h3 class="date">$date$</h3>
|
<h3 class="date">$date$</h3>
|
||||||
$endif$
|
$endif$
|
||||||
|
$if(abstract)$
|
||||||
|
<div class="abstract">
|
||||||
|
$abstract$
|
||||||
|
</div>
|
||||||
|
$endif$
|
||||||
</div>
|
</div>
|
||||||
$endif$
|
$endif$
|
||||||
$if(toc)$
|
$if(toc)$
|
||||||
|
|
|
@ -49,6 +49,11 @@ $endfor$
|
||||||
$if(date)$
|
$if(date)$
|
||||||
<p class="date">$date$</p>
|
<p class="date">$date$</p>
|
||||||
$endif$
|
$endif$
|
||||||
|
$if(abstract)$
|
||||||
|
<div class="abstract">
|
||||||
|
$abstract$
|
||||||
|
</div>
|
||||||
|
$endif$
|
||||||
</header>
|
</header>
|
||||||
$endif$
|
$endif$
|
||||||
$if(toc)$
|
$if(toc)$
|
||||||
|
|
|
@ -161,6 +161,12 @@ div.csl-entry {
|
||||||
$if(csl-entry-spacing)$
|
$if(csl-entry-spacing)$
|
||||||
margin-bottom: $csl-entry-spacing$;
|
margin-bottom: $csl-entry-spacing$;
|
||||||
$endif$
|
$endif$
|
||||||
|
$if(abstract)$
|
||||||
|
div.abstract{
|
||||||
|
margin: auto;
|
||||||
|
width: 90%;
|
||||||
|
}
|
||||||
|
$endif$
|
||||||
}
|
}
|
||||||
.hanging div.csl-entry {
|
.hanging div.csl-entry {
|
||||||
margin-left:2em;
|
margin-left:2em;
|
||||||
|
|
Loading…
Add table
Reference in a new issue