Skip to content

Commit aae59b5

Browse files
authored
author metadata: no corresponding warnings
merges #526
1 parent ca748bf commit aae59b5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/00.front-matter.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,9 @@ Published: {{manubot.date_long}}
7070

7171
::: {#correspondence}
7272
✉ — Correspondence possible via {% if manubot.ci_source is defined -%}[GitHub Issues](https://github.com/{{manubot.ci_source.repo_slug}}/issues){% else %}GitHub Issues{% endif %}
73-
{% if manubot.authors|map(attribute='corresponding')|select|max -%}
73+
{% if manubot.authors|map(attribute='corresponding',default=false)|select|max -%}
7474
or email to
75-
{% for author in manubot.authors|selectattr("corresponding") -%}
75+
{% for author in manubot.authors|selectattr("corresponding", "defined")|selectattr("corresponding") -%}
7676
{{ author.name }} \<{{ author.email }}\>{{ ", " if not loop.last else "." }}
7777
{% endfor %}
7878
{% endif %}

0 commit comments

Comments
 (0)