Add abstract to default html template (#7588)

This commit is contained in:
Jannik Buhr 2022-01-09 19:30:10 +01:00 committed by GitHub
parent fb91a91615
commit d908e31fe6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 16 additions and 0 deletions

View file

@ -46,6 +46,11 @@ $endfor$
$if(date)$
<h3 class="date">$date$</h3>
$endif$
$if(abstract)$
<div class="abstract">
$abstract$
</div>
$endif$
</div>
$endif$
$if(toc)$

View file

@ -49,6 +49,11 @@ $endfor$
$if(date)$
<p class="date">$date$</p>
$endif$
$if(abstract)$
<div class="abstract">
$abstract$
</div>
$endif$
</header>
$endif$
$if(toc)$

View file

@ -161,6 +161,12 @@ div.csl-entry {
$if(csl-entry-spacing)$
margin-bottom: $csl-entry-spacing$;
$endif$
$if(abstract)$
div.abstract{
margin: auto;
width: 90%;
}
$endif$
}
.hanging div.csl-entry {
margin-left:2em;