From d404e2fe5b8c57c473c6250b8decbf5ac5b45e64 Mon Sep 17 00:00:00 2001 From: wilsonfreitas Date: Wed, 13 Aug 2014 08:49:52 -0300 Subject: Added new theme aboutwilson --- aboutwilson/templates/index.html | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 aboutwilson/templates/index.html (limited to 'aboutwilson/templates/index.html') diff --git a/aboutwilson/templates/index.html b/aboutwilson/templates/index.html new file mode 100644 index 0000000..6087d5f --- /dev/null +++ b/aboutwilson/templates/index.html @@ -0,0 +1,36 @@ +{% extends "base.html" %} +{% block content_title %}{% endblock %} +{% block content %} +{% if articles %} +{% for article in articles_page.object_list %} +
+ +

{{ article.title }}

+
+ +  —  + +
{{ article.summary }}
+ {% if article.category %} + Category: + + {{ article.category }} + + {% endif %} + Tags: + {% if article.tags %} + {% for tag in article.tags %} + + + + {% endfor %} + {% endif %} +
+
+{% endfor %} {# For article #} +{% include 'pagination.html' %} +{% endif %} {# If articles #} +{% endblock content %} + -- cgit