{% extends "news/base_news.html" %} {% block title %}Post search{% endblock %} {% block body_class %}{{ block.super }} post_search{% endblock %} {% block content_title %}

Search

{% endblock %} {% block content %}

{% if message %}

{{ message }}

{% endif %} {% if object_list %}
{% for post in object_list %}

{{ post.title }}

{{ post.publish|custom_date:user }}

{{ post.tease }}

{% if comment_count %}{{ comment_count }} comment{{ comment_count|pluralize }}{% endif %}

{% endfor %}
{% endif %} {% endblock %}