{% extends "base.html" %} {% block title %}{{query}}{% endblock %} {% block results %}

The results for the query "{{query}}" are:

{% if results == {} %}
That word is not used in any of the manifesto's.
{% else %} {% for _, manifesto in results.items() %}

{{manifesto.name}}

{% for sentence in manifesto.sentences %}
{{sentence}}
{% endfor %}
{% endfor %} {% endif %}
{% endblock %}