From fe7012879c287d80598a9b6e40929b61eefcd25c Mon Sep 17 00:00:00 2001 From: bnewbold Date: Thu, 5 May 2016 18:34:02 -0400 Subject: basic fixups to templates and stylesheet --- theme/templates/list.html | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 theme/templates/list.html (limited to 'theme/templates/list.html') diff --git a/theme/templates/list.html b/theme/templates/list.html new file mode 100644 index 0000000..4bd8198 --- /dev/null +++ b/theme/templates/list.html @@ -0,0 +1,28 @@ +{% extends "base.html" %} +{% block content %} +
+{% block content_title %} +

All articles

+{% endblock %} + +
    +{% for article in articles_page.object_list %} +
  1. +

    {{ article.title }}

    +
    + {{ article.locale_date }} +
    By + {% for author in article.authors %} + {{ author }} + {% endfor %} +
    +
    +
    {{ article.summary }}
    +
  2. +{% endfor %} +
+{% if articles_page.has_other_pages() %} + {% include 'pagination.html' %} +{% endif %} +
+{% endblock content %} -- cgit v1.2.3