Browse Source

Add empty posts message

master
Dylan Baker 3 years ago
parent
commit
b6d4c987a8
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      templates/index.html

+ 1
- 1
templates/index.html View File

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

Loading…
Cancel
Save