Skip to content

Commit ad3bd32

Browse files
committed
Update publications.md
1 parent 16b589e commit ad3bd32

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

_pages/publications.md

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,19 @@ nav_order: 1
1313

1414
{% include bib_search.liquid %}
1515

16-
<div class="publications">
16+
<style>
17+
.publications {
18+
counter-reset: pub-number;
19+
}
1720

18-
{% bibliography %}
21+
.publications li::before {
22+
counter-increment: pub-number;
23+
content: counter(pub-number) ". ";
24+
display: inline-block;
25+
margin-right: 0.5em;
26+
}
27+
</style>
1928

20-
</div>
29+
<div class="publications">
30+
{% bibliography --sort_by year --order ascending %}
31+
</div>

0 commit comments

Comments
 (0)