summaryrefslogtreecommitdiff
path: root/theme/templates/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'theme/templates/index.html')
-rwxr-xr-xtheme/templates/index.html28
1 files changed, 8 insertions, 20 deletions
diff --git a/theme/templates/index.html b/theme/templates/index.html
index bf288a8..a54ae31 100755
--- a/theme/templates/index.html
+++ b/theme/templates/index.html
@@ -4,26 +4,14 @@
{% block content %}
{% if articles %}
{% 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">
-
- {% 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>
+
+ {% import 'abstract.html' as abstract with context %}
+ {{ abstract.abstract(article, "h1") }}
+
+ {% if not loop.last %}
+ <hr>
+ {% endif %}
+
{% endfor %}
{% include 'navigator.html' %}