Skip to content

Commit

Permalink
fix item id breadcrumb (#1772)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomkralidis authored Aug 6, 2024
1 parent d4063f3 commit 9ad8706
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pygeoapi/templates/collections/items/item.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% extends "_base.html" %}
{% set ptitle = data['properties'][data['title_field']] or '_(Item) '.format(data['id']) %}
{% set ptitle = data['properties'][data['title_field']] or data['id'] | string %}
{% block desc %}{{ data.get('properties',{}).get('description', {}) | string | truncate(250) }}{% endblock %}
{% block tags %}{{ data['properties'].get('themes', [{}])[0].get('concepts', []) | join(',') }}{% endblock %}
{# Optionally renders an img element, otherwise standard value or link rendering #}
Expand Down

0 comments on commit 9ad8706

Please sign in to comment.