2013-09-24 13:54:41 +00:00
|
|
|
{% extends "front_base.html" %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
{% if posts %}
|
2013-10-14 10:12:50 +00:00
|
|
|
{% include 'paginator.html' with list=posts %}
|
2013-09-24 13:54:41 +00:00
|
|
|
{% for post in posts %}
|
2013-10-01 19:17:41 +00:00
|
|
|
{% with title_links=True %}
|
|
|
|
{% include 'blog/post.html' %}
|
|
|
|
{% endwith %}
|
2013-09-24 13:54:41 +00:00
|
|
|
{% endfor %}
|
2013-10-14 10:12:50 +00:00
|
|
|
{% include 'paginator.html' with list=posts %}
|
2013-09-24 13:54:41 +00:00
|
|
|
{% else %}
|
|
|
|
<p>No posts are returned for your query.</p>
|
|
|
|
{% endif %}
|
|
|
|
{% endblock %}
|