{# -*- coding: utf-8 -*- This file is part of Invenio. Copyright (C) 2023 CERN. Invenio 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 "semantic-ui/invenio_formatter/macros/badges.html" import badges_formats_list %} {%- macro doi_badge(doi, doi_url, github_id) %} {%- block doi_badge scoped %} {% set image_url = url_for('invenio_github_badge.index', repo_github_id=github_id, _external=True) %} {%- endblock %} {%- endmacro %}