grav-theme-libretic/templates/simplesearch_results.html.twig
2015-02-18 18:41:41 +01:00

17 lines
593 B
Twig

{% extends 'partials/simplesearch_base.html.twig' %}
{% block content %}
<div class="content-wrapper simplesearch">
<h1 class="search-header">Search Results</h1>
<div class="center">
{% include 'partials/simplesearch_searchbox.html.twig' %}
</div>
{% set body_classes = 'bar' %}
<p>Query: <strong>{{ query }}</strong> found {{ search_results.count }} {{ 'result'|pluralize(search_results.count) }}</p>
{% for page in search_results %}
{% include 'partials/simplesearch_item.html.twig' with {'page':page} %}
{% endfor %}
</div>
{% endblock %}