diff --git a/pygeoapi/templates/collection.html b/pygeoapi/templates/collection.html index a89d671..bf60e3d 100644 --- a/pygeoapi/templates/collection.html +++ b/pygeoapi/templates/collection.html @@ -1,7 +1,7 @@ {% extends "base.html" %} {% block title %}{{ super() }} {{ data['title'] }} {% endblock %} {% block crumbs %}{{ super() }} -Collections +/ Collections {{ data['title'] }} {% endblock %} {% block body %} diff --git a/pygeoapi/templates/collections.html b/pygeoapi/templates/collections.html index e392952..b495c73 100644 --- a/pygeoapi/templates/collections.html +++ b/pygeoapi/templates/collections.html @@ -1,7 +1,7 @@ {% extends "base.html" %} {% block title %}{{ super() }} Collections {% endblock %} {% block crumbs %}{{ super() }} -Collections +/ Collections {% endblock %} {% block body %}
diff --git a/pygeoapi/templates/item.html b/pygeoapi/templates/item.html index 22a4527..5804c4b 100644 --- a/pygeoapi/templates/item.html +++ b/pygeoapi/templates/item.html @@ -1,14 +1,14 @@ {% extends "base.html" %} {% block title %}{{ super() }} {{ data['title'] }} {% endblock %} {% block crumbs %}{{ super() }} -Collections +/ Collections {% for link in data['links'] %} {% if link.rel == 'collection' %} - {{ link['title'] }} +/ {{ link['title'] }} {% endif %} {% endfor %} -Items -{{ data['title'] or data['id'] }} +/ Items +/ {{ data['title'] or data['id'] }} {% endblock %} {% block extrahead %} diff --git a/pygeoapi/templates/items.html b/pygeoapi/templates/items.html index 2e77a4d..1e6e12f 100644 --- a/pygeoapi/templates/items.html +++ b/pygeoapi/templates/items.html @@ -1,13 +1,13 @@ {% extends "base.html" %} {% block title %}{{ super() }} {{ data['title'] }} {% endblock %} -{% block crumbs %}{{ super() }} -Collections +{% block crumbs %}{{ super() }} +/ Collections {% for link in data['links'] %} - {% if link.rel == 'collection' %} + {% if link.rel == 'collection' %} / {{ link['title'] }} {% endif %} -{% endfor %} -Items +{% endfor %} +/ Items {% endblock %} {% block extrahead %} @@ -39,7 +39,7 @@ {% for ft in data['features'] %} - {{ ft.id }} + {{ ft.id }} {% for k, v in ft['properties'].items() %} {{ v }} {% endfor %}