miom.space/_includes/people.njk

29 lines
1,001 B
Plaintext
Raw Normal View History

2021-10-22 16:05:00 +00:00
<ul class="mi-people">
2021-10-22 21:42:44 +00:00
{% for person in (people | objectToArray) %}
2021-10-22 16:05:00 +00:00
<li class="mi-person">
2021-10-22 17:27:57 +00:00
<h1 class="mi-person--name">
{{ person.name }}
<span class="mi-person--pronoun">({{ person.pronouns }})</span>
</h1>
2021-10-22 16:05:00 +00:00
<p class="mi-person--role">{{ person.role }}</p>
<details>
<summary class="mi-person--contact-toggle">Contact</summary>
2021-10-22 21:42:44 +00:00
<table class="mi-person--contact-options">
2021-10-22 16:05:00 +00:00
{% for contactOption in person.contactOptions %}
2021-10-22 21:42:44 +00:00
<tr class="mi-person--contact-option">
<td class="mi-person--contact-option-name">{{ contactOption.name }}:<td>
<td>
{% if contactOption.link %}
<a href="{{ contactOption.link }}">{{ contactOption.value }}</a>
{% else %}
{{ contactOption.value }}
{% endif %}
</td>
</tr>
2021-10-22 16:05:00 +00:00
{% endfor %}
2021-10-22 21:42:44 +00:00
</table>
2021-10-22 16:05:00 +00:00
</details>
</li>
2021-10-22 11:13:16 +00:00
{% endfor %}
2021-10-22 16:05:00 +00:00
</ul>