fix extra space in the contributors list

master
Corne Oppelaar 8 years ago
parent 93e11e1959
commit d1a106ab7d

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

Loading…
Cancel
Save