templates: display latest post before home navigation
[chloro.git] / chloro / phyll / templates / phyll / home.html
1 {% extends "phyll/base.html" %}
2
3 {% block content-class %}home{% endblock %}
4
5 {% block body %}
6
7 <div class="latest">
8 <h2><a href="{{ latest.get_absolute_url }}">{{ latest.title }}</a></h2>
9 <div class="meta">{{ latest.creation_timestamp|date:"j E Y, H:i"|lower }}</div>
10 <div class="post">
11 {{ latest.text|safe }}
12 </div>
13 </div>
14
15 <nav>
16 <a href="tag/radio/">Radio <span>(Panik &amp; ailleurs)</span></a>
17 <a href="tag/code/">Logiciel libre <span>(Debian, GNOME &amp; ce qui passe)</span></a>
18 <a class="divers" href="tag/divers/"><span>(Totalement)</span> divers</a>
19 <a class="vrac" href="archives/"><span>(tout)</span> En vrac</a>
20 </nav>
21
22 {% endblock %}