improves #361 by adding the collection title to Items page (#374)

This commit is contained in:
paul van genuchten
2020-04-14 01:04:32 +02:00
committed by GitHub
parent bc651bbb8e
commit ef5bcd7d10
+5 -3
View File
@@ -5,6 +5,7 @@
{% for link in data['links'] %}
{% if link.rel == 'collection' %} /
<a href="{{ data['dataset_path'] }}">{{ link['title'] }}</a>
{% set col_title = link['title'] %}
{% endif %}
{% endfor %}
/ <a href="{{ data['items_path']}}">Items</a>
@@ -16,9 +17,10 @@
{% block body %}
<section id="items"></section>
<div class="row col-sm-12">
<h2>Items</h2>
</div>
<section id="collection">
<h1>{% for l in data['links'] if l.rel == 'collection' %} {{ l['title'] }} {% endfor %}</h1>
<p>Items in this collection.</p>
</section>
<section id="items">
{% if data['features'] %}
<div class="row">