From 57fcd72ed90f6473dbc575c2b1ec28b6dd7695ff Mon Sep 17 00:00:00 2001 From: Greg Newman Date: Fri, 30 Jun 2023 09:31:10 -0400 Subject: [PATCH] :sparkles: add an empty message if no news --- templates/news/list.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/templates/news/list.html b/templates/news/list.html index 5773914e..57309bd1 100644 --- a/templates/news/list.html +++ b/templates/news/list.html @@ -60,6 +60,7 @@
+ {% if entry_list %}
    {% for entry in entry_list %}
  1. @@ -118,6 +119,9 @@
  2. {% endfor %}
+ {% else %} +

No news items were found.

+ {% endif %}
{% endblock %}