14 lines
606 B
HTML
14 lines
606 B
HTML
{%- assign authors=include.authors|split:"," -%}
|
|
{%- for author in authors -%}
|
|
{%- if author contains "<" -%}
|
|
{%- assign authorparts=author|split:"<" -%}
|
|
{{authorparts[0]|strip}} <<a href="mailto:{{authorparts[1]|remove:">"}}">{{authorparts[1]|remove:">"}}</a>>
|
|
{%- elsif author contains "(@" -%}
|
|
{%- assign authorparts=author|split:"(@" -%}
|
|
{{authorparts[0]|strip}} (<a href="https://github.com/{{authorparts[1]|remove:")"}}">@{{authorparts[1]|remove:")"}}</a>)
|
|
{%- else -%}
|
|
{{author}}
|
|
{%- endif -%}
|
|
{% if forloop.last == false %}, {% endif %}
|
|
{%- endfor -%}
|