From c8a2495d2ebe4120be939af5cd8b2c4b565b1afd Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 24 Mar 2019 23:56:10 +0100 Subject: Add missing news template --- themes/lv2/templates/news.html | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 themes/lv2/templates/news.html (limited to 'themes/lv2/templates') diff --git a/themes/lv2/templates/news.html b/themes/lv2/templates/news.html new file mode 100644 index 0000000..eb2dc21 --- /dev/null +++ b/themes/lv2/templates/news.html @@ -0,0 +1,33 @@ +{% extends "base.html" %} +{% block content_title %}{% endblock %} +{% block content %} +

News

+ {% if articles %} + {% for article in articles_page.object_list %} +
+ +

{{ article.title }}

+
+ +
{{ article.summary }}
+
+
+ {% endfor %} {# For article #} + {% endif %} + + {% include "pagination.html" %} + +{% endblock content %} -- cgit v1.2.1