Skip to content

Commit

Permalink
Add abstract to default html template (#7588)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmbuhr authored Jan 9, 2022
1 parent fb91a91 commit d908e31
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
5 changes: 5 additions & 0 deletions data/templates/default.html4
Original file line number Diff line number Diff line change
Expand Up @@ -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)$
Expand Down
5 changes: 5 additions & 0 deletions data/templates/default.html5
Original file line number Diff line number Diff line change
Expand Up @@ -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)$
Expand Down
6 changes: 6 additions & 0 deletions data/templates/styles.html
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,12 @@
$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;
Expand Down

0 comments on commit d908e31

Please sign in to comment.