diff options
Diffstat (limited to 'templates/blog/posts.html')
-rw-r--r-- | templates/blog/posts.html | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/templates/blog/posts.html b/templates/blog/posts.html deleted file mode 100644 index d9bc72d..0000000 --- a/templates/blog/posts.html +++ /dev/null @@ -1,42 +0,0 @@ -<!-- -*- Mode: django-html-mumamo -*- --> - -{% extends "blog/base.html" %} - -{% block content %} - {% if postlist %} - {% for post in postlist %} - <div class="container"> - <div class="header"> - <a href="/blog/post/{{ post.pk }}/"> - <span class="title">{{ post.subject }}</span> - </a> - </div> - {% autoescape off %} - {{ post.body|linebreaksbr }} - {% endautoescape %} - <div class="footer"> - Date posted: {{ post.postdate|date:"r" }} - Tags: - {% for tag in post.tags.all %} - {% if forloop.counter > 1 %}, {% endif %} - <a href="/blog/tag/{{ tag.name }}">{{ tag.name }}</a> - {% empty %} - None - {% endfor %} - </div> - </div> - {% endfor %} - - <div class="navigation"> - {% if has_next %} - <a class="next" href="/blog/{{ next_page }}/">next</a> - {% endif %} - - {% if has_previous %} - <a class="previous" href="/blog/{{ previous_page }}/">previous</a> - {% endif %} - </div> - {% else %} - Yeah I know, I'm boring. - {% endif %} -{% endblock %} |