mirror of
https://github.com/matrix-org/matrix.org.git
synced 2026-01-16 23:13:50 +00:00
34 lines
1.3 KiB
HTML
34 lines
1.3 KiB
HTML
{% macro individual(individual) %}
|
|
<details class="nominee">
|
|
<summary>{{ individual.name }} {% if individual.pronouns %}({{ individual.pronouns }}){% endif %}</summary>
|
|
{% if individual.bio %}
|
|
<h4>Biography</h4>
|
|
{{ individual.bio | markdown() | safe }}
|
|
{% endif %}
|
|
{% if individual.platform_statement %}
|
|
<h4>Platform Statement</h4>
|
|
{{ individual.platform_statement | markdown() | safe }}
|
|
{% if individual.extended_platform %}
|
|
<p><a href="{{ individual.extended_platform | safe }}" target="_blank">Read this candidate's extended platform.</a></p>
|
|
{% endif %}
|
|
{% endif %}
|
|
</details>
|
|
{% endmacro %}
|
|
|
|
{% macro project(representative) %}
|
|
<details class="nominee">
|
|
<summary>{{ representative.name }} {% if representative.pronouns %}({{ representative.pronouns }}){% endif %} - {{
|
|
representative.project }}</summary>
|
|
{% if representative.bio %}
|
|
<h4>Biography</h4>
|
|
{{ representative.bio | markdown() | safe }}
|
|
{% endif %}
|
|
{% if representative.platform_statement %}
|
|
<h4>Platform Statement</h4>
|
|
{{ representative.platform_statement | markdown() | safe }}
|
|
{% if representative.extended_platform %}
|
|
<p><a href="{{ representative.extended_platform | safe }}" target="_blank">Read this candidate's extended platform.</a></p>
|
|
{% endif %}
|
|
{% endif %}
|
|
</details>
|
|
{% endmacro %}
|