From 22e881fa89e4b3b8f6207d2c2e8713c2ff919400 Mon Sep 17 00:00:00 2001 From: Sébastien Dailly Date: Wed, 8 May 2013 10:54:59 +0200 Subject: Added articlelogo on main page --- theme/templates/index.html | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) (limited to 'theme/templates/index.html') diff --git a/theme/templates/index.html b/theme/templates/index.html index d045910..bf288a8 100755 --- a/theme/templates/index.html +++ b/theme/templates/index.html @@ -6,14 +6,22 @@ {% for article in (articles_page.object_list if articles_page else articles) %}

{{ article.title }}

- - -
- {{ article.summary }} -
- {% if not loop.last %} -
- {% endif %} + + + +
+ + {% if article.logo %} +
+ +
+ {% endif %} + + {{ article.summary }} +
+ {% if not loop.last %} +
+ {% endif %}
{% endfor %} -- cgit v1.2.3