瀏覽代碼

Cap sizes for blog avatars

pull/2/head
Noah Petherbridge 5 年之前
父節點
當前提交
1f92d2a35d
共有 1 個檔案被更改,包括 3 行新增3 行删除
  1. +3
    -3
      rophako/modules/blog/templates/blog/entry.inc.html

+ 3
- 3
rophako/modules/blog/templates/blog/entry.inc.html 查看文件

@@ -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>



Loading…
取消
儲存