]> git.0d.be Git - chloro.git/blob - chloro/phyll/templates/phyll/note_list.html
do not include non-feed posts on homepage
[chloro.git] / chloro / phyll / templates / phyll / note_list.html
1 {% extends "phyll/base.html" %}
2 {% load i18n %}
3
4 {% block content-class %}post-list{% endblock %}
5
6 {% block body %}
7   <div>
8     {% if view.kwargs.tag %}
9       <h1>{{ view.kwargs.tag }}</h1>
10     {% else %}
11       <h1>Archives</h1>
12     {% endif %}
13     <ul>
14       {% for post in object_list %}
15         <li {% if not post.published %}class="unpublished"{% endif %}><a href="{{ post.get_absolute_url }}">{{ post.title }} <span>{{ post.creation_timestamp|date:"Y/m/d" }}</a></li>
16       {% endfor %}
17     </ul>
18   </div>
19 {% endblock %}
20
21 {% block bottom-actions %}
22   <a href="edit/">{% trans "Edit" %}</a>
23   <a href="delete/">{% trans "Delete" %}</a>
24 {% endblock %}