{# SPDX-FileCopyrightText: 2020 Zenodo. SPDX-FileCopyrightText: 2020-2026 Graz University of Technology. SPDX-License-Identifier: MIT #} {%- macro creators (authors_list) %} {%- for creators in authors_list %} {%- if creators.identifiers and creators.identifiers.orcid %} {%- endif %} {{ creators.person_or_org.name }} {% if not loop.last %};{% endif %} {%- endfor %} {%- endmacro %} {%- macro contributors(contributors_list) %} {%- for group in contributors_list|groupby('type') %}
{{ group.grouper }}(s)
{{ authors(group.list) }} {%- endfor %} {%- endmacro %}