]> git.0d.be Git - chloro.git/blobdiff - chloro/phyll/templates/phyll/home.html
use <article> elements, so reader mode is made available in firefox
[chloro.git] / chloro / phyll / templates / phyll / home.html
index 4688d5fd8eaf86490b3a655d990dd7827cf4f708..54cfe19f967da88f88ef74d8a8c75dcc290b0a64 100644 (file)
@@ -5,23 +5,23 @@
 {% block body %}
 
 {% with posts.0 as latest %}
-<div class="latest">
+<article class="latest">
 <h2><a href="{{ latest.get_absolute_url }}">{{ latest.title }}</a></h2>
 <div class="meta">{{ latest.creation_timestamp|date:"j E Y, H:i"|lower }}</div>
 <div class="post">
 {{ latest.text|safe }}
 </div>
-</div>
+</article>
 {% endwith %}
 
-<div class="older post-list">
+<section class="older post-list">
 <ul>
 {% for post in posts|slice:"1:" %}
 <li><a href="{{ post.get_absolute_url }}">{{ post.title }}&nbsp;<span>{{ post.creation_timestamp|date:"Y/m/d" }}</span></a></li>
 {% endfor %}
 <li><a href="/archives/">...</a></li>
 </ul>
-</div>
+</section>
 
 <nav>
 <a href="tag/radio/">Radio <span>(Panik &amp; ailleurs)</span></a>