diff --git a/pygeoapi/templates/collections/index.html b/pygeoapi/templates/collections/index.html index 5336df3..8ffad1d 100644 --- a/pygeoapi/templates/collections/index.html +++ b/pygeoapi/templates/collections/index.html @@ -4,29 +4,56 @@ / {% trans %}Collections{% endtrans %} {% endblock %} {% block body %} -
-

Collections in this service

+
+

Data collections in this service

- {% for col in data['collections'] %} + {% if col.get('itemType') != 'record' %} - + {% endif %} + {% endfor %} + +
{% trans %}Name{% endtrans %}{% trans %}Type{% endtrans %} {% trans %}Description{% endtrans %}
{{ col['title'] | striptags | truncate }} {{ col["itemType"] }} {{ col['description'] | striptags | truncate }}
+
+
+

Record collections in this service

+ + + + + + + + + {% for col in data['collections'] %} + {% if col.get('itemType') == 'record' %} + + + + + {% endif %} {% endfor %}
{% trans %}Name{% endtrans %}{% trans %}Description{% endtrans %}
+ + {{ col['title'] | striptags | truncate }} + + {{ col['description'] | striptags | truncate }} +