瀏覽代碼

comment.py

CJ 1 年之前
父節點
當前提交
5c20c42224
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      templates/index.html

+ 1 - 1
templates/index.html

@@ -34,7 +34,7 @@
                                             {% endfor %}</div>
                                     </div>
                                 </div>
-                            {% elif item.type == 2 %}
+                            {% elif item.type == 2 and item.is_top%}
                                 <div class="event">
                                     <div class="label">
                                         <img src="/user_avatar/{{ item.user_id }}">