Fix "comma and and" before last author in publication list (#3107)
This commit is contained in:
parent
f68e88c5ef
commit
fea4b7c550
@ -74,13 +74,15 @@
|
||||
{% if coauthor.firstname contains author.first %}
|
||||
{%- assign coauthor_url = coauthor.url -%}
|
||||
{% break %}
|
||||
{% endif %}
|
||||
{%- endif -%}
|
||||
{% endfor %}
|
||||
{%- endif -%}
|
||||
|
||||
{%- if forloop.length > 1 -%}
|
||||
{% if forloop.first == false %}, {% endif %}
|
||||
{%- if forloop.last and author_array_limit == author_array_size %}and {% endif -%}
|
||||
{% if forloop.first == false -%}
|
||||
{%- if forloop.length > 2 %}, {% elsif forloop.length == 2 %} {% endif %}
|
||||
{%- endif %}
|
||||
{%- if forloop.last and author_array_limit == author_array_size %}and {% endif -%}
|
||||
{% endif %}
|
||||
{%- if author_is_self -%}
|
||||
<em>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user