Update item.html
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
{% extends "_base.html" %}
|
||||
{% set ptitle = data['properties'][data['title_field']] or ("Item {}".format(data['id'])) %}
|
||||
{% block desc %}{{ data.get('properties',{}).get('description',{}) | string | truncate(250) }}{% endblock %}
|
||||
{% block tags %}{{ data['properties'].get('themes',[{}])[0].get('concepts',[]) | join(',') }}{% endblock %}
|
||||
{% 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 #}
|
||||
{% macro render_item_value(v, width) -%}
|
||||
{% set val = v | string | trim %}
|
||||
|
||||
Reference in New Issue
Block a user