{# -*- coding: utf-8 -*- Copyright (C) 2021 Graz University of Technology. Invenio-Records-Marc21 is free software; you can redistribute it and/or modify it under the terms of the MIT License; see LICENSE file for more details. #} {% set subjects = metadata.get('subject_added_entry_topical_term') %} {% if subjects %}
{{_('Subjects')}}
{% for subjecttag in subjects %} {% set idx = loop %} {%- set subject = subjecttag.get(subjecttag.keys()|list|first)|safe -%} {{subject}} {{idx.index}} {%- endfor %}
{% endif %}