diff --git a/pygeoapi/templates/collections.html b/pygeoapi/templates/collections.html index 649684a3f..eaa5db461 100644 --- a/pygeoapi/templates/collections.html +++ b/pygeoapi/templates/collections.html @@ -10,19 +10,21 @@

Collections in this service

Name + Type Description - {% for k, v in filter_dict_by_key_value(config['resources'], 'type', 'collection').items() %} + {% for col in data['collections'] %} - - {{ v['title'] | striptags | truncate }} + + {{ col['title'] | striptags | truncate }} + {{ col["itemType"] }} - {{ v['description'] | striptags | truncate }} + {{ col['description'] | striptags | truncate }} {% endfor %}