{# Copyright (C) 2020 CERN. Copyright (C) 2020 Northwestern University. Copyright (C) 2021 New York University. Invenio RDM Records is free software; you can redistribute it and/or modify it under the terms of the MIT License; see LICENSE file for more details. #} {%- from "invenio_app_rdm/records/macros/doi.html" import show_doi %} {%- set id_doi = record.pids.get('doi', {}).get('identifier') %} {% if id_doi %} {{ show_doi(id_doi, record) }} {% endif %}