{% extends "base.html" %} {% load i18n %} {% load catalogue_tags %} {% block title %}Search{% endblock %} {% block metadescription %}{% endblock %} {% block bodyid %}newsearch{% endblock %} {% block body %}
Search
fuzzy.
{% if did_you_mean %} Czy miałeś na mysli
{{did_you_mean}}
? {% endif %}
{% for result in results %}
{{result.book.pretty_title}}
(id: {{result.book_id}}, score: {{result.score}})
{% for hit in result.hits %}
{% for snip in hit.3.snippets %} {{snip|safe}}
{% endfor %}
{% endfor %} {% for part in result.parts %} {% if part.header %}
W {{part.header}} nr {{part.position}}
{% else %} {% if part.fragment %}
Tagi/Motywy: {% for tag in part.fragment.tags %}{{tag.name}} {% endfor %}
{{part.fragment.short_html|safe}}
{% endif %} {% endif %} {% endfor %}
{% empty %}
No results.
{% endfor %}
{% endblock %}