Skip to content

Latest commit

 

History

History
77 lines (71 loc) · 3.27 KB

00.front-matter.md

File metadata and controls

77 lines (71 loc) · 3.27 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. ##}

A DOI-citable version of this manuscript is available at https://doi.org/10.1101/2022.06.15.496326.

{% 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 %} :::