1
0
mirror of https://github.com/ipdb/website.git synced 2025-02-14 21:10:26 +01:00

make it more DRY

This commit is contained in:
Matthias Kretschmann 2017-11-07 13:20:05 +01:00
parent 5dbbd7b6b4
commit a78e9148ad
Signed by: m
GPG Key ID: 606EEEF3C479A91F

View File

@ -6,9 +6,9 @@
<p>{{ contact.registration}}</p> <p>{{ contact.registration}}</p>
<h5>Represented by</h5> <h5>Represented by</h5>
<p> <p>
{{ site.data.board[0].position }}: {{ site.data.board[0].name }}<br /> {% for representative in site.data.board | limit: 3 %}
{{ site.data.board[1].position }}: {{ site.data.board[1].name }}<br /> {{ representative.position }}: {{ representative.name }}<br />
{{ site.data.board[2].position }}: {{ site.data.board[2].name }} {% endfor %}
</p> </p>
{% endif %} {% endif %}
<p> <p>