Skip to content

Commit

Permalink
Fix instances.html breadcrumb
Browse files Browse the repository at this point in the history
  • Loading branch information
Geomet user for nightly docker builds committed Jan 9, 2025
1 parent aec8b48 commit b210e07
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions theme/templates/collections/edr/instances.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,7 @@
{% block title %}{{ super() }} {{ data['title'] }} {% endblock %}
{% block crumbs %}{{ super() }}
<li><a href="{{ data['collections_path'] }}?lang={{ (locale|lower)[:2] }}">{% trans %}Collections{% endtrans %}</a></li>
{% for link in data['links'] %}
{% if link.rel == 'collection' %}
<li><a href="{{ data['dataset_path'] }}?lang={{ (locale|lower)[:2] }}">{{ link['title'][(locale|lower)[:2]] | truncate( 25 ) }}</a></li>
{% set col_title = link['title'][(locale|lower)[:2]] %}
{% endif %}
{% endfor %}
<li><a href="{{ data['dataset_path'] }}?lang={{ (locale|lower)[:2] }}">{{ link['title'][(locale|lower)[:2]] | truncate( 25 ) }}</a></li>
<li><a href="{{ data['dataset_path'] }}/instances?lang={{ (locale|lower)[:2] }}">{% trans %}Instances{% endtrans %}</a></li>
{% endblock %}
{% block body %}
Expand Down

0 comments on commit b210e07

Please sign in to comment.