aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sleepmap-theme/templates/index.html26
1 files changed, 15 insertions, 11 deletions
diff --git a/sleepmap-theme/templates/index.html b/sleepmap-theme/templates/index.html
index 5e1e676..18cde9c 100644
--- a/sleepmap-theme/templates/index.html
+++ b/sleepmap-theme/templates/index.html
@@ -5,28 +5,32 @@
{% for article in articles %}
{% if loop.index == 1 %}
<section id="content" class="body">
- <aside id="featured"><article>
- <h1 class="entry-title"><a href="{{ SITEURL }}/{{ article.url
- }}">{{ article.title }}</a></h1>
- {% include 'article_infos.html' %}<!-- /.post-info -->
+ <aside id="featured">
+ <article class="hentry">
+ <header>
+ <h1 class="entry-title">
+ <a href="{{ SITEURL }}/{{ article.url}}">{{ article.title }}</a>
+ </h1>
+ {% include 'taglist.html' %}
+ </header>
{{ article.content }}
- </article></aside><!-- /#featured -->
+ {% include 'article_infos.html' %}<!-- /.post-info -->
+ </article>
+ </aside><!-- /#featured -->
{% if loop.length > 1 %}
- <h1>Other articles</h1>
- <hr />
<ol id="posts-list" class="hfeed">
{% endif %}
{% else %}
<li><article class="hentry">
<header>
<h1><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></h1>
+ {% include 'taglist.html' %}
</header>
-
<div class="entry-content">
- {% include 'article_infos.html' %}<!-- /.post-info -->
- {{ article.summary }}
- <a class="readmore" href="{{ SITEURL }}/{{ article.url }}">read more</a>
+ {{ article.summary }}
+ <a class="readmore" href="{{ SITEURL }}/{{ article.url }}">read more</a>
</div><!-- /.entry-content -->
+ {% include 'article_infos.html' %}<!-- /.post-info -->
</article></li>
{% endif %}
{% endfor %}