From 4c643a63ee2eef782fee64f41968d1893b3e62cf Mon Sep 17 00:00:00 2001 From: Calum Andrew Morrell Date: Mon, 10 Nov 2025 20:59:03 +0000 Subject: [PATCH] Corrected variable names. --- news/templates/news/newsitem_list.html | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/news/templates/news/newsitem_list.html b/news/templates/news/newsitem_list.html index f05453c..2600862 100644 --- a/news/templates/news/newsitem_list.html +++ b/news/templates/news/newsitem_list.html @@ -5,11 +5,6 @@ {% if object_list %} {% if category %}

{{ category }} News

- - - - - {% elif tag %}

News for tag: {{ tag }}

{% else %} @@ -17,14 +12,16 @@ {% endif %}
- {% for news in object_list %} + {% for newsitem in object_list %}
- {{ news.title }} -
+ {{ newsitem.title }} +
+ {{ newsitem.body_as_markdown|safe }} +
- {{ news.category }} - • {{ news.created | date:'jS \o\f F, Y' }} + {{ newsitem.category }} + • {{ newsitem.created_at | date:'jS \o\f F, Y' }} {% include 'news/includes/display_tags.html' %}