From b0bc2ea611c3d1c6bb4df9816c35a4268b89d397 Mon Sep 17 00:00:00 2001 From: slonkazoid Date: Sat, 4 May 2024 00:24:29 +0300 Subject: [PATCH] add note when there are no posts --- templates/index.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/templates/index.html b/templates/index.html index 4292de8..591c008 100644 --- a/templates/index.html +++ b/templates/index.html @@ -17,6 +17,9 @@

posts

+ {% if posts.is_empty() %} + there are no posts right now. check back later! + {% endif %} {% for post in posts %}
{{ post.title }}