From 0290aee70d071b3d5db2ce14635842043763acb5 Mon Sep 17 00:00:00 2001 From: bnewbold Date: Sun, 1 May 2016 23:53:51 -0400 Subject: create a basic theme (from bnewnet style) --- theme/templates/simple_index.html | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 theme/templates/simple_index.html (limited to 'theme/templates/simple_index.html') diff --git a/theme/templates/simple_index.html b/theme/templates/simple_index.html new file mode 100644 index 0000000..4bd8198 --- /dev/null +++ b/theme/templates/simple_index.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