fix extra space in the contributors list

This commit is contained in:
Corne Oppelaar 2016-06-21 12:21:54 +02:00
parent 93e11e1959
commit d1a106ab7d

View file

@ -40,10 +40,10 @@
<a href="https://github.com/{{ githubRepo }}"><i class="fa fa-github fa-4x" aria-hidden="true"></i></a> <a href="https://github.com/{{ githubRepo }}"><i class="fa fa-github fa-4x" aria-hidden="true"></i></a>
{% if contributors|length > 0 %} {% if contributors|length > 0 %}
<h2>with the help of <h2>with the help of
{% for contributor in contributors %} {% for contributor in contributors -%}
{% if loop.index0 < (loop.length - 1) and loop.index0 > 0 %}, {% elseif loop.index0 == (loop.length - 1) %} and {% endif %} {%- if loop.index0 < (loop.length - 1) and loop.index0 > 0 %}, {% elseif loop.index0 == (loop.length - 1) %} and {% endif -%}
<a href="{{ contributor.html_url }}">{{ contributor.login }}</a> <a href="{{ contributor.html_url }}">{{ contributor.login }}</a>
{% endfor %} {%- endfor %}
</h2> </h2>
{% endif %} {% endif %}
</div> </div>