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 From 8de98b30a54eb942c107d3a2d8c6908e9ed7049f Mon Sep 17 00:00:00 2001 From: Wladislaw Date: Wed, 24 Apr 2013 12:09:49 +0300 Subject: Move hr to separate span8 div. Looks more awesome. --- new-bootstrap2/templates/index.html | 2 ++ 1 file changed, 2 insertions(+) (limited to 'new-bootstrap2/templates/index.html') diff --git a/new-bootstrap2/templates/index.html b/new-bootstrap2/templates/index.html index 5b2134b..4d11a80 100644 --- a/new-bootstrap2/templates/index.html +++ b/new-bootstrap2/templates/index.html @@ -14,6 +14,8 @@ more ... + +

{% endfor %} -- cgit