{% extends "base.html" %} {% block header %}

Results found: {{ matches }}

{% endblock %} {% block cards_layout %}
{% block cards %} {% for d in data %} {% if d.type == "rolling_stock" %} {% include "cards/rolling_stock.html" %} {% elif d.type == "company" %} {% include "cards/company.html" %} {% elif d.type == "rolling_stock_type" %} {% include "cards/rolling_stock_type.html" %} {% elif d.type == "scale" %} {% include "cards/scale.html" %} {% elif d.type == "consist" %} {% include "cards/consist.html" %} {% elif d.type == "manufacturer" %} {% include "cards/manufacturer.html" %} {% elif d.type == "book" %} {% include "cards/book.html" %} {% endif %} {% endfor %} {% endblock %}
{% endblock %}