Skip to content

Latest commit

 

History

History
63 lines (58 loc) · 2.7 KB

00.front-matter.md

File metadata and controls

63 lines (58 loc) · 2.7 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.date}}.

Authors

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

  • {{author.name}} {% if author.corresponding is defined and author.corresponding == true -%}^^{%- endif -%}
    {%- if author.orcid is defined and author.orcid is not none %} ORCID icon{.inline_icon width=16 height=16} {{author.orcid}} {%- endif %} {%- if author.github is defined and author.github is not none %} · GitHub icon{.inline_icon width=16 height=16} {{author.github}} {%- endif %} {%- if author.twitter is defined and author.twitter is not none %} · Twitter icon{.inline_icon width=16 height=16} {{author.twitter}} {%- 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 %} :::