Added links to contributors that have them

This commit is contained in:
graingert 2011-11-30 02:19:35 +00:00
parent c7c61ebbbd
commit f6116546f8

View file

@ -71,7 +71,15 @@ layout: simple
<table class="unstyled"> <table class="unstyled">
<tr> <tr>
{% for c in site.project.contributors %} {% for c in site.project.contributors %}
<td>{{ c.name }} ({{ c.contributions }})</td> <td>
{% if c.login %}
<a href="http://github.com/{{c.login}}">
{{ c.name }} ({{ c.contributions }})
</a>
{% else %}
{{ c.name }} ({{ c.contributions }})
{% endif %}
</td>
{% cycle nil, nil, nil, nil, '</tr><tr>' %} {% cycle nil, nil, nil, nil, '</tr><tr>' %}
{% endfor %} {% endfor %}
</tr> </tr>