Переглянути джерело

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

prod-ecs 1 рік тому
батько
коміт
c9f9711a9a
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 }}">