Bladeren bron

Cap sizes for blog avatars

pull/2/head
Noah Petherbridge 5 jaren geleden
bovenliggende
commit
1f92d2a35d
1 gewijzigde bestanden met toevoegingen van 3 en 3 verwijderingen
  1. +3
    -3
      rophako/modules/blog/templates/blog/entry.inc.html

+ 3
- 3
rophako/modules/blog/templates/blog/entry.inc.html Bestand weergeven

@@ -14,11 +14,11 @@

<div class="blog-author">
{% if post["avatar"] %}
<img src="/static/avatars/{{ post['avatar'] }}" alt="{{ post['profile']['name'] }}">
<img src="/static/avatars/{{ post['avatar'] }}" alt="{{ post['profile']['name'] }}" width="96" height="96">
{% elif post["photo"] %}
<img src="{{ post['photo_url'] }}/{{ post['photo'] }}" alt="{{ post['profile']['name'] }}">
<img src="{{ post['photo_url'] }}/{{ post['photo'] }}" alt="{{ post['profile']['name'] }}" width="96" height="96">
{% else %}
<img src="/static/avatars/default.png" alt="{{ post['profile']['name'] }}">
<img src="/static/avatars/default.png" alt="{{ post['profile']['name'] }}" width="96" height="96">
{% endif %}
<br>



Laden…
Annuleren
Opslaan