Skip to content

Latest commit

 

History

History
79 lines (73 loc) · 3.35 KB

00.front-matter.md

File metadata and controls

79 lines (73 loc) · 3.35 KB

{## This file contains a Jinja2 front-matter template that adds version and authorship information. Changing the Jinja2 templates in this file may cause incompatibility with Manubot updates. Pandoc automatically inserts title from metadata.yaml, so it is not included in this template. ##}

{## Uncomment & edit the following line to reference to a preprinted or published version of the manuscript. A DOI-citable version of this manuscript is available at https://doi.org/DOI_HERE. ##}

{## Template to insert build date and source ##} This manuscript {% if manubot.ci_source is defined and manubot.ci_source.provider == "appveyor" -%} (permalink) {% elif manubot.html_url_versioned is defined -%} (permalink) {% endif -%} was automatically generated {% if manubot.ci_source is defined -%} from {{manubot.ci_source.repo_slug}}@{{manubot.ci_source.commit | truncate(length=7, end='', leeway=0)}} {% endif -%} on {{manubot.generated_date_long}}.

{% if manubot.date_long != manubot.generated_date_long -%} Published: {{manubot.date_long}} {% endif %}

Authors

{## Template for listing authors ##} {% for author in manubot.authors %}

  • {{author.name}} {% if author.corresponding is defined and author.corresponding == true -%}^^{%- endif -%}
    {%- set has_ids = false %} {%- if author.orcid is defined and author.orcid is not none %} {%- set has_ids = true %} ORCID icon{.inline_icon width=16 height=16} {{author.orcid}} {%- endif %} {%- if author.github is defined and author.github is not none %} {%- set has_ids = true %} · GitHub icon{.inline_icon width=16 height=16} {{author.github}} {%- endif %} {%- if author.twitter is defined and author.twitter is not none %} {%- set has_ids = true %} · Twitter icon{.inline_icon width=16 height=16} {{author.twitter}} {%- endif %} {%- if author.mastodon is defined and author.mastodon is not none and author["mastodon-server"] is defined and author["mastodon-server"] is not none %} {%- set has_ids = true %} · Mastodon icon{.inline_icon width=16 height=16} @{{author.mastodon}}@{{author["mastodon-server"]}} {%- endif %} {%- if has_ids %}
    {%- endif %} {%- if author.affiliations is defined and author.affiliations|length %} {{author.affiliations | join('; ')}} {%- endif %} {%- if author.funders is defined and author.funders|length %} · Funded by {{author.funders | join('; ')}} {%- endif %} {% endfor %}

::: {#correspondence} ✉ — Correspondence possible via {% if manubot.ci_source is defined -%}GitHub Issues{% else %}GitHub Issues{% endif %} {% if manubot.authors|map(attribute='corresponding')|select|max -%} or email to {% for author in manubot.authors|selectattr("corresponding") -%} {{ author.name }} <{{ author.email }}>{{ ", " if not loop.last else "." }} {% endfor %} {% endif %} :::