Pārlūkot izejas kodu

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

prod-ecs 1 gadu atpakaļ
vecāks
revīzija
c9f9711a9a
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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 }}">