Dylan Baker 3 лет назад
Родитель
Сommit
c292d5904c
1 измененных файлов: 5 добавлений и 2 удалений
  1. 5
    2
      templates/index.html

+ 5
- 2
templates/index.html Просмотреть файл

@@ -3,7 +3,10 @@
3 3
 {{ components::form(action="/posts") }} {% endif %}
4 4
 
5 5
 <div class="posts">
6
-  {% for post in posts %} {{ components::post(post=post, type="index") }} {%
7
-  else %} No posts yet {% endfor %}
6
+  {% for post in posts %}
7
+    {{ components::post(post=post, type="index") }}
8
+  {% else %}
9
+    No posts yet
10
+  {% endfor %}
8 11
 </div>
9 12
 {% endblock %}

Загрузка…
Отмена
Сохранить