fix item id breadcrumb (#1772)

This commit is contained in:
Tom Kralidis
2024-08-06 06:03:27 -04:00
committed by GitHub
parent d4063f360e
commit 9ad8706223
@@ -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 #}