Procházet zdrojové kódy

Add empty posts message

master
Dylan Baker před 3 roky
rodič
revize
b6d4c987a8
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1
    1
      templates/index.html

+ 1
- 1
templates/index.html Zobrazit soubor

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

Načítá se…
Zrušit
Uložit