From 7b47b996c0019d1edbb5fc8f7338148b56bb9f7f Mon Sep 17 00:00:00 2001 From: xomf Date: Sat, 30 Mar 2024 14:02:36 -0400 Subject: [PATCH] added thing when no posts are found yes --- templates/index.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/templates/index.html b/templates/index.html index e03dbae..730e44d 100644 --- a/templates/index.html +++ b/templates/index.html @@ -21,7 +21,7 @@
- {% for post in posts %} + {% for post in posts if posts.len() > 0 %}
post img @@ -29,6 +29,8 @@

{{post.descr}}

+ {% else %} +

No posts found, check back later. D:

{% endfor %}