From 10b0b8cc08487d4fa6e138b0b55a6263a62d2840 Mon Sep 17 00:00:00 2001 From: Wladislaw Merezhko Date: Sat, 8 Dec 2012 18:03:58 +0200 Subject: Create updated theme based on bootstrap2 --- new-bootstrap2/templates/index.html | 58 +++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 new-bootstrap2/templates/index.html (limited to 'new-bootstrap2/templates/index.html') diff --git a/new-bootstrap2/templates/index.html b/new-bootstrap2/templates/index.html new file mode 100644 index 0000000..5b2134b --- /dev/null +++ b/new-bootstrap2/templates/index.html @@ -0,0 +1,58 @@ +{% extends "base.html" %} +{% block content_title %}{% endblock %} +{%- block content %} +
+{% if articles %} + {% for article in (articles_page.object_list if articles_page else articles) %} +
+
{% include "article_infos.html" %}
+
+
+
+

{{ article.title }}

+
{{ article.summary }} + more ... +
+
+
+
+ {% endfor %} +{% endif %} + +
+{% if articles_page and articles_paginator.num_pages > 1 %} + +{# +{% else %} + {% if PAGES %} +
+

Pages

+ +
+ {% endif %} +#} +{% endif %} +
+
+{% endblock content %} -- cgit