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 %}
|
{% if coauthor.firstname contains author.first %}
|
||||||
{%- assign coauthor_url = coauthor.url -%}
|
{%- assign coauthor_url = coauthor.url -%}
|
||||||
{% break %}
|
{% break %}
|
||||||
{% endif %}
|
{%- endif -%}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
|
|
||||||
{%- if forloop.length > 1 -%}
|
{%- if forloop.length > 1 -%}
|
||||||
{% if forloop.first == false %}, {% endif %}
|
{% if forloop.first == false -%}
|
||||||
{%- if forloop.last and author_array_limit == author_array_size %}and {% endif -%}
|
{%- if forloop.length > 2 %}, {% elsif forloop.length == 2 %} {% endif %}
|
||||||
|
{%- endif %}
|
||||||
|
{%- if forloop.last and author_array_limit == author_array_size %}and {% endif -%}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{%- if author_is_self -%}
|
{%- if author_is_self -%}
|
||||||
<em>
|
<em>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user