ソースを参照

Add empty posts message

master
Dylan Baker 3年前
コミット
b6d4c987a8
1個のファイルの変更1行の追加1行の削除
  1. 1
    1
      templates/index.html

+ 1
- 1
templates/index.html ファイルの表示

@@ -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 %}

読み込み中…
キャンセル
保存