Skip to content

Commit

Permalink
Switch affiliations to a numbered list
Browse files Browse the repository at this point in the history
  • Loading branch information
dhimmel committed Jun 3, 2019
1 parent 608cbe1 commit 6ac55a9
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions content/00.front-matter.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ on {{date}}.

## Authors

<!-- commented out for https://github.com/greenelab/meta-review/issues/230
{## Template for listing authors ##}
{% for author in authors %}
+ **{{author.name}}** {% if author.correspondence is defined and author.correspondence == true -%}^[✉](#correspondence)^{%- endif -%}<br>
Expand Down Expand Up @@ -52,3 +53,21 @@ on {{date}}.
✉ — correspondence preferred via [GitHub Issues](https://github.com/greenelab/meta-review/issues).
Otherwise, address correspondence to <[email protected]> and <[email protected]>.
:::
-->

{## Template for listing authors with numbered affiliations according to https://github.com/greenelab/meta-review/issues/230 ##}
{% for author in authors %}
{{author.name}}^{{author.affiliation_numbers | join(',')}}{% if author.correspondence is defined and author.correspondence == true -%}[*](#correspondence){%- endif -%}^
{%- if not loop.last -%}, {%- endif -%}
{% endfor %}


{% for affiliation in affiliations %}
{{affiliation.affiliation_number}}. {{affiliation.affiliation}}
{%- endfor %}


::: {#correspondence}
\* — correspondence preferred via [GitHub Issues](https://github.com/greenelab/meta-review/issues).
Otherwise, address correspondence to <[email protected]> and <[email protected]>.
:::

0 comments on commit 6ac55a9

Please sign in to comment.