rms-support-letter.github.io/_includes/signatures.html

17 lines
577 B
HTML
Raw Normal View History

2021-03-27 10:24:26 +01:00
<p><b>Signed by {{ site.data.signed.size }} individuals:</b></p>
2021-03-26 18:43:51 +01:00
<ol>
{% capture signs %}
{% for sign_hash in site.data.signed %}
{% assign signature = sign_hash[1] %}
|{{signature.name | escape }}#{{signature.link | escape }}
{% endfor %}
{% endcapture %}
{% assign sorted_signs = signs | split: '|' | sort_natural %}
2021-03-26 18:43:51 +01:00
{% for signature in sorted_signs %}
{% assign sign_items = signature | split: '#' %}
{% if sign_items[0] and sign_items[1] %}
<li><a href="{{ sign_items[1] | strip }}">{{ sign_items[0] | strip }}</a></li>
{% endif %}
{% endfor %}
</ol>