{% extends 'base.html' %} {% block title %} Search {%- if result is not none %} results for "{{ query }}"{%- endif %} {% endblock %} {% block header %} {{ macros.breadcrumb("Search") }} {% endblock %} {% block content %} {% if result is not none -%}

{{ result.hits.total.value }} results for "{{ query }}"

{% for row in result|batch(3) %}
{%- for match in row %}
{% if match is role_type -%} {% else -%} {% endif -%} {{ match|block_type|capitalize }} {% if match.last_updated %} {{ match.last_updated | prettydate }} {% endif %}
{{ match.name }}
{{ match.repo }}

{% if match.description_rendered %}{{ match.description_rendered.split('\n')|first|striptags }}{% endif %}

Show details
{%- endfor %}
{% endfor %}
{% endif -%} {% endblock %}