Merge pull request #4646 from jekyll/avatar-fix

Ensure avatars properly render on /news
This commit is contained in:
Ben Balter 2016-03-10 11:59:37 -05:00
commit b086a3b423
1 changed files with 2 additions and 1 deletions

View File

@ -14,7 +14,8 @@
{{ post.date | date_to_string }} {{ post.date | date_to_string }}
</span> </span>
<a href="https://github.com/{{ post.author }}" class="post-author"> <a href="https://github.com/{{ post.author }}" class="post-author">
{% avatar {{ post.author}} size=24 %} {% assign author = post.author %}
{% avatar user=author size=24 %}
{{ post.author }} {{ post.author }}
</a> </a>
</div> </div>