{% extends 'base.html' %} {% load static humanize%} {% block page-subtitle %}Search ‖ {% endblock %} {% block nav-title %} Derrida's Library {% endblock %} {% block header_class %}mdl-layout__header--transparent{% endblock %} {% block page-context-id %}search-results{% endblock %} {% block search-form-classes %}{% endblock %} {% block content %}

Library Books {% if instance_count %}View {{ instance_count|intcomma }} Result{{ instance_count|pluralize }}{% endif %}

{% for book in instance_list %} {% url 'books:detail' book.slug as instance_url %} {% include 'components/books-list-item.html' with href=instance_url shorten=True %} {% empty %} {% include 'components/search-results-empty.html' %} {% endfor %}

References {% if reference_count %}View {{ reference_count|intcomma }} Result{{ reference_count|pluralize }}{% endif %}

{% for reference in reference_list %} {% include 'components/citation-list-item.html' with reference=reference %} {% empty %} {% include 'components/search-results-empty.html' %} {% endfor %}

Interventions {% if intervention_count %} View {{ intervention_count|intcomma }} Result{{ intervention_count|pluralize }}{% endif %}

{% for intervention in intervention_list %} {% include 'components/intervention-list-item.html' %} {% empty %} {% include 'components/search-results-empty.html' %} {% endfor %}

Outworks {% if outwork_count %} View {{ outwork_count|intcomma }} Result{{ outwork_count|pluralize }}{% endif %}

{% for outwork in outwork_list %} {% include 'outwork/components/outwork-list-item.html' %} {% empty %} {% include 'components/search-results-empty.html' %} {% endfor %}
{% endblock %}