{% extends "_base.html" %} {% block title %}{{ super() }} Items {% endblock %} {% block extrahead %} {% endblock %} {% block crumbs %} {{ super() }} / Search {% endblock %} {% block body %}
{% set nav_links = namespace(prev=None, next=None) %} {% for link in data['links'] %} {% if link['rel'] == 'prev' %} {% set nav_links.prev = link['href'] %} {% endif %} {% if link['rel'] == 'next' %} {% set nav_links.next = link['href'] %} {% endif %} {% endfor %}
{% if nav_links.prev %} {% else %} {% endif %} {% if nav_links.next %} {% else %} {% endif %}
{% for rec in data['features'] %} {% if 'properties' in rec %} {% else %} {% endif %} {% if 'properties' in rec %} {% if 'type' in rec['properties'] %} {% elif rec.get('type') == 'Feature' and 'stac_version' not in rec %} {% elif rec.get('type') == 'Feature' and 'stac_version' in rec %} {% else%} {% endif %} {% else %} {% if rec.get('type') == 'Feature' and 'stac_version' not in rec %} {% elif rec.get('type') == 'Feature' and 'stac_version' in rec %} {% elif rec.get('type') == 'Collection' and 'stac_version' in rec %} {% elif rec.get('type') == 'Catalog' and 'stac_version' in rec %} {% else%} {% endif %} {% endif %} {% endfor %}
Title Type
{{ rec['properties']['title'] }}{{ rec.get('title', rec['id']) }}{{ rec['properties']['type'] }}recorditem{{ rec.get('type') }}recorditemcollectioncatalog{{ rec.get('type') }}
{% if nav_links.prev %} {% else %} {% endif %} {% if nav_links.next %} {% else %} {% endif %}
{% endblock %} {% block extrafoot %} {% if data['features'] %} {% endif %} {% endblock %}