{% 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 }} results for "{{ query }}"

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

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

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