11{% macro individual(individual) %}
22< details class ="nominee ">
33 < summary > {{ individual.name }} {% if individual.pronouns %}({{ individual.pronouns }}){% endif %}</ summary >
4- {% if individual.bio %}
54 < h4 > Biography</ h4 >
5+ {% if individual.bio %}
66 {{ individual.bio | markdown() | safe }}
7+ {% else %}
8+ < p > (The candidate submitted no biography.)</ p >
79 {% endif %}
8- {% if individual.platform_statement %}
910 < h4 > Platform Statement</ h4 >
11+ {% if individual.platform_statement %}
1012 {{ individual.platform_statement | markdown() | safe }}
1113 {% if individual.extended_platform %}
1214 < p > < a href ="{{ individual.extended_platform | safe }} " target ="_blank "> Read this candidate's extended platform.</ a > </ p >
1315 {% endif %}
16+ {% else %}
17+ < p > (The candidate submitted no platform statement.)</ p >
1418 {% endif %}
1519</ details >
1620{% endmacro %}
@@ -19,16 +23,20 @@ <h4>Platform Statement</h4>
1923< details class ="nominee ">
2024 < summary > {{ representative.name }} {% if representative.pronouns %}({{ representative.pronouns }}){% endif %} - {{
2125 representative.project }}</ summary >
22- {% if representative.bio %}
2326 < h4 > Biography</ h4 >
27+ {% if representative.bio %}
2428 {{ representative.bio | markdown() | safe }}
29+ {% else %}
30+ < p > (The candidate submitted no biography.)</ p >
2531 {% endif %}
26- {% if representative.platform_statement %}
2732 < h4 > Platform Statement</ h4 >
33+ {% if representative.platform_statement %}
2834 {{ representative.platform_statement | markdown() | safe }}
2935 {% if representative.extended_platform %}
3036 < p > < a href ="{{ representative.extended_platform | safe }} " target ="_blank "> Read this candidate's extended platform.</ a > </ p >
3137 {% endif %}
38+ {% else %}
39+ < p > (The candidate submitted no platform statement.)</ p >
3240 {% endif %}
3341</ details >
3442{% endmacro %}
0 commit comments