summaryrefslogtreecommitdiff
path: root/theme/templates/index.html
diff options
context:
space:
mode:
authorSébastien Dailly <sebastien@chimrod.com>2013-05-08 10:54:59 +0200
committerSébastien Dailly <sebastien@chimrod.com>2013-05-08 15:47:02 +0200
commit22e881fa89e4b3b8f6207d2c2e8713c2ff919400 (patch)
treeaed2733a92661a803801ab8876558d794c62e515 /theme/templates/index.html
parentfaf19242226324b95ad96cb01d29131e7ba65e50 (diff)
Added articlelogo on main page
Diffstat (limited to 'theme/templates/index.html')
-rwxr-xr-xtheme/templates/index.html24
1 files changed, 16 insertions, 8 deletions
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 class="post">
<h1 class="title"><a href="{{ SITEURL }}/{{ article.url}}">{{ article.title }}</a></h1>
-<time class="meta" datetime="{{ article.date.isoformat() }}" pubdate="pubdate">{{ article.locale_date }}</time>
-
- <section class="post_content">
- {{ article.summary }}
- <div class="clear" />
- {% if not loop.last %}
- <hr>
- {% endif %}
+
+
+ <time class="meta" datetime="{{ article.date.isoformat() }}" pubdate="pubdate">{{ article.locale_date }}</time>
+ <section class="post_content">
+
+ {% if article.logo %}
+ <div class="floatleft figure" style="width: 75px">
+ <img src="{{article.logo}}" >
+ </div>
+ {% endif %}
+
+ {{ article.summary }}
+ <div class="clear" />
+ {% if not loop.last %}
+ <hr>
+ {% endif %}
</section>
</article>
{% endfor %}