Browse Source

Blog avatars take priority over user photos

pull/2/head
Noah Petherbridge 8 years ago
parent
commit
61dce0f90f
  1. 6
      rophako/www/blog/entry.inc.html

6
rophako/www/blog/entry.inc.html

@ -9,10 +9,10 @@
{% endif %}
<div class="blog-author">
{% if post["photo"] %}
<img src="{{ post['photo_url'] }}/{{ post['photo'] }}">
{% elif post["avatar"] %}
{% if post["avatar"] %}
<img src="/static/avatars/{{ post['avatar'] }}">
{% elif post["photo"] %}
<img src="{{ post['photo_url'] }}/{{ post['photo'] }}">
{% else %}
<img src="/static/avatars/default.png">
{% endif %}

Loading…
Cancel
Save