diff --git a/_includes/authorlist.html b/_includes/authorlist.html new file mode 100644 index 00000000..e32a48c4 --- /dev/null +++ b/_includes/authorlist.html @@ -0,0 +1,10 @@ +{%- assign authors=include.authors|split:"," -%} +{%- for author in authors -%} + {%- if author contains "<" -%} + {%- assign authorparts=author|split:"<" -%} + "}}">{{authorparts[0]|strip}} + {%- else -%} + {{author}} + {%- endif -%} + {% if forloop.last == false %}, {% endif %} +{%- endfor -%} diff --git a/_includes/eiptable.html b/_includes/eiptable.html index 409ae05c..db2bcfa4 100644 --- a/_includes/eiptable.html +++ b/_includes/eiptable.html @@ -10,7 +10,7 @@
Author | {{ page.author | xml_escape }} |
---|---|
Author | {% include authorlist.html authors=page.author %} |
Discussions-To | {{ page["discussions-to"] | xml_escape }} |
Requires | {% include eipnums.html eips=page.requires %} |
Replaces | {{% include eipnums.html eips=page.replaces %} |
Replaces | {% include eipnums.html eips=page.replaces %} |
Superseded by | {% include eipnums.html eips=page['superseded-by'] %} |
Superseded by | {% include eipnums.html eips=page.superseded-by %} |
Resolution | {{ page.resolution | xml_escape }} |