fix item id breadcrumb (#1772)
This commit is contained in:
@@ -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 #}
|
||||
|
||||
Reference in New Issue
Block a user