{% if referrer | length %} {% if dois | length %}

Descriptions/metadata of this dataset or parts of it can be found in:

{% for item in dois %}
{{ item.title }}
{% endfor %} {% else %}

Sorry, nothing found for {{ referrer }}

{% endif %} {% else %}

This page needs to be referred to from another page to do something useful

{% endif %}