mirror of
https://github.com/status-im/EIPs.git
synced 2025-02-25 05:05:35 +00:00
Add support for github usernames in author lines (#974)
This commit is contained in:
parent
547af9da8c
commit
5b37c1d6c0
@ -3,6 +3,9 @@
|
||||
{%- if author contains "<" -%}
|
||||
{%- assign authorparts=author|split:"<" -%}
|
||||
<a href="mailto:{{authorparts[1]|remove:">"}}">{{authorparts[0]|strip}}</a>
|
||||
{%- elsif author contains "(@" -%}
|
||||
{%- assign authorparts=author|split:"(@" -%}
|
||||
<a href="https://github.com/{{authorparts[1]|remove:")"}}">{{authorparts[0]|strip}}</a>
|
||||
{%- else -%}
|
||||
{{author}}
|
||||
{%- endif -%}
|
||||
|
Loading…
x
Reference in New Issue
Block a user