ensure avatars properly render on /news

This commit is contained in:
Ben Balter 2016-03-10 11:52:39 -05:00
parent 3acf4beb81
commit 1c59be1494
1 changed files with 2 additions and 1 deletions

View File

@ -14,7 +14,8 @@
{{ post.date | date_to_string }}
</span>
<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 }}
</a>
</div>