Fix deprecated use of gravatar_id with the GitHub API

This commit is contained in:
Saivann 2014-09-23 10:47:56 -04:00
parent 468f48686a
commit 48d47dd035
3 changed files with 5 additions and 5 deletions

View file

@ -58,7 +58,7 @@ id: about-us
<div class="contributors">
{% for c in site.sitecontributors %}
<div>
<div>{% if c.gravatar_id %}<img src="https://secure.gravatar.com/avatar/{{c.gravatar_id}}?s=140&amp;d=mm" alt="icon" />{% else %}<img alt="icon" />{% endif %}</div>
<div>{% if c.avatar_url %}<img src="{{c.avatar_url}}" alt="icon" />{% else %}<img alt="icon" />{% endif %}</div>
<div><a{% if c.login %} href="https://github.com/{{c.login}}"{% endif %}>{{ c.name | htmlescape }}</a></div>
<div>({{ c.contributions }})</div>
</div>