{# -*- 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.
#}
{%- import "invenio_github/settings/helpers.html" as helpers with context %}
{%- from "invenio_github/helpers.html" import doi_badge with context -%}
{%- extends config.GITHUB_SETTINGS_TEMPLATE %}
{%- block settings_content %}
{%- set github_rel_url = 'https://github.com/{0}/releases/new'.format(repo.name) %}
{% set active = true %}
{%- block repo_details_header scoped %}
{{ repo.name }}
{{ _("Toggle the switch below to turn on/off automatic preservation of your repository.") }}
{{ _('Go to GitHub and create a release. {} will automatically download a .zip-ball of each new release and register a DOI.') .format(config.THEME_SITENAME | default('Invenio')) }}
{{ release.release_object.created|naturaltime }}
CITATION.cff {{ _('files are plain text files with human- and machine-readable citation information for software. Code developers can include them in their repositories to let others know how to correctly cite their software.') }}
{{ _("An example of the CITATION.cff for this release can be found below:") }}
{%- endblock releasetab_cff %}