{% extends 'weblog/base.html' %} {% block title %}{{ block.super }} ยป Search results{% endblock %} {% block content %}

Search results: {{ page.object_list|length }}

{% if query %} {% for result in page.object_list %} {% with result.object as post %} {% include 'weblog/_post_body.html' %} {% endwith %} {% empty %}

No results found.

{% endfor %} {% else %}

No search query entered.

{% endif %} {% endblock %}