Omit leading `and` from plugin tag list if there is only one tag
This commit is contained in:
parent
8f6c249313
commit
35a0266891
|
@ -62,7 +62,7 @@
|
|||
</div>
|
||||
{% if this.tags %}
|
||||
{% for t in this.tags|sort %}
|
||||
{{ "and " if loop.last }}
|
||||
{{ "and " if loop.last and not loop.first }}
|
||||
<a href="{{ ('/plugins@tag/' ~ t ~ '/')|url }}">{{ t }}</a>{{ ", " if not loop.last }}
|
||||
{% endfor %}
|
||||
{% else %}
|
||||
|
|
Loading…
Reference in New Issue