{% extends "layouts" ~ DIR ~ "default.twig" %} {% block content %} {% if posts.paginated is not empty or pages is not empty %}
{{ "Search results for “%s”" | translate | format(search | fix) }}
{% else %}
{{ "Your search did not return any results." | translate }}
{% endif %} {% if pages is not empty %} {{ "Pages containing the search term" | translate }} {% for page in pages %}

{{ page.title }}

{{ page.body | striptags | truncate(200) }}
{% endfor %} {% endif %} {% for post in posts.paginated %} {% include(["feathers" ~ DIR ~ post.feather ~ ".twig", "feathers" ~ DIR ~ "missing.twig"]) %} {% endfor %} {% if posts.prev_page() or posts.next_page() %} {% endif %} {% endblock %}