diff --git a/pygeoapi/templates/items.html b/pygeoapi/templates/items.html index 554bbcc..0fc905d 100644 --- a/pygeoapi/templates/items.html +++ b/pygeoapi/templates/items.html @@ -5,6 +5,7 @@ {% for link in data['links'] %} {% if link.rel == 'collection' %} / {{ link['title'] }} + {% set col_title = link['title'] %} {% endif %} {% endfor %} / Items @@ -16,9 +17,10 @@ {% block body %}
-
-

Items

-
+
+

{% for l in data['links'] if l.rel == 'collection' %} {{ l['title'] }} {% endfor %}

+

Items in this collection.

+
{% if data['features'] %}