Skip to content

Commit

Permalink
Revert "Remove trailing spaces from author last names in bib.html"
Browse files Browse the repository at this point in the history
This reverts commit 16f8244.
  • Loading branch information
scottleechua committed Nov 17, 2024
1 parent 16f8244 commit abdef72
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions _layouts/bib.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,51 +41,51 @@

{% if forloop.length == 1 %}
{% if author_is_self %}
<em>{{- author.first }} {{ author.last -}}</em>
<em>{{- author.first }} {{ author.last }}</em>
{% else %}
{{- author.first }} {{ author.last -}}
{% endif %}
{% elsif forloop.length == 2 %}
{% unless forloop.last %}
{% if author_is_self %}
<em>{{- author.first }} {{ author.last -}}</em>
<em>{{- author.first }} {{ author.last }}</em>
{% else %}
{% if coauthor_url %}
<a href="{{coauthor_url}}" target="_blank">{{- author.first }} {{ author.last -}}</a>
<a href="{{coauthor_url}}" target="_blank">{{- author.first }} {{ author.last }}</a>
{% else %}
{{- author.first }} {{ author.last -}}
{{- author.first }} {{ author.last }}
{% endif %}
{% endif %}
{% else %}
{% if author_is_self %}
and <em>{{- author.first }} {{ author.last -}}</em>
and <em>{{- author.first }} {{ author.last }}</em>
{% else %}
{% if coauthor_url %}
and <a href="{{coauthor_url}}" target="_blank">{{- author.first }} {{ author.last -}}</a>
and <a href="{{coauthor_url}}" target="_blank">{{- author.first }} {{ author.last }}</a>
{% else %}
and {{- author.first }} {{ author.last -}}
and {{- author.first }} {{ author.last }}
{% endif %}
{% endif %}
{% endunless %}
{% else %}
{% unless forloop.last %}
{% if author_is_self %}
<em>{{- author.first }} {{ author.last -}}</em>,
<em>{{- author.first }} {{ author.last }}</em>,
{% else %}
{% if coauthor_url %}
<a href="{{coauthor_url}}" target="_blank">{{- author.first }} {{ author.last -}}</a>,
<a href="{{coauthor_url}}" target="_blank">{{- author.first }} {{ author.last }}</a>,
{% else %}
{{- author.first }} {{ author.last -}},
{{- author.first }} {{ author.last }},
{% endif %}
{% endif %}
{% else %}
{% if author_is_self %}
and <em>{{- author.first }} {{ author.last -}}</em>
and <em>{{- author.first }} {{ author.last }}</em>
{% else %}
{% if coauthor_url %}
and <a href="{{coauthor_url}}" target="_blank">{{- author.first }} {{ author.last -}}</a>
and <a href="{{coauthor_url}}" target="_blank">{{- author.first }} {{ author.last }}</a>
{% else %}
and {{- author.first }} {{ author.last -}}
and {{- author.first }} {{ author.last }}
{% endif %}
{% endif %}
{% endunless %}
Expand Down

0 comments on commit abdef72

Please sign in to comment.