forked from greenelab/meta-review
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch affiliations to a numbered list
Refs greenelab#230
- Loading branch information
Showing
1 changed file
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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> | ||
|
@@ -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]>. | ||
::: |