Skip to content

Commit

Permalink
index citations
Browse files Browse the repository at this point in the history
  • Loading branch information
YueSteveYin committed Jul 31, 2024
1 parent 998e96f commit c04c66d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/_default/person.html
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ <h2 class="text-lg font-bold">Citations</h2>
<ol type="1" class="links-blue-darker">
{{ range $index, $citation := .Params.citations }}
<li class="overflow-hidden break-words">
<a href="{{ $citation }}" target="_blank">{{ $citation }}</a>
<a href="{{ $citation }}" target="_blank">[{{ add $index 1 }}] {{ $citation }}</a>
</li>
{{ end }}
</ol>
Expand Down

0 comments on commit c04c66d

Please sign in to comment.