Browse Source

Merge branch 'prod' of http://118.89.119.129:3000/yangchaojie/Blog into prod

prod-ecs 1 year ago
parent
commit
c9f9711a9a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      templates/index.html

+ 1 - 1
templates/index.html

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