Skip to content

Commit f1b87a1

Browse files
committed
update post
1 parent f6358b3 commit f1b87a1

File tree

1 file changed

+23
-19
lines changed

1 file changed

+23
-19
lines changed

_layouts/_includes/foundational_supporters.html

Lines changed: 23 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -3,24 +3,28 @@ <h2>Foundational Supporters</h2>
33
<p>Black Python Devs operates primarily on support from individuals. It is those supporters that serve as the foundation for what we do.</p>
44
<p>We would like to recognize our supporters who donate at least $200 each year.</p>
55

6-
{% for data_year in data %}
7-
<details name="{{data_year}}" {% if data_year="" ="year" %}open{% endif %}>
8-
<summary>{{data_year}}</summary>
9-
<div class="grid">
10-
{% for data_lists in data[data_year] | sort | slice(3) %}
11-
<section class="">
12-
<div>
13-
<ul>
14-
{% for supporter in data_lists %}
15-
<li>{{supporter}}</li>
16-
{% endfor %}
17-
</ul>
18-
</div>
19-
</section>
20-
{% endfor %}
21-
</div>
6+
{% for data_year in data %} {% if data_year == year %}
7+
<details name="{{data_year}}" open>
8+
{% else %}
9+
<details name="{{data_year}}">
10+
{% endif %}
11+
<summary>{{data_year}}</summary>
12+
<div class="grid">
13+
{% for data_lists in data[data_year] | sort | slice(3) %}
14+
<section class="">
15+
<div>
16+
<ul>
17+
{% for supporter in data_lists %}
18+
<li>{{supporter}}</li>
19+
{% endfor %}
20+
</ul>
21+
</div>
22+
</section>
23+
{% endfor %}
24+
</div>
25+
</details>
26+
{% endfor %}
27+
<p>You can view the archive of supporters<sup>*</sup> by year at https://github.com/blackpythondevs/blackpythondevs.</p>
28+
<p>* <sub>Those who marked their desire to remain anonymous have not been included</sub></p>
2229
</details>
23-
{% endfor %}
24-
<p>You can view the archive of supporters<sup>*</sup> by year at https://github.com/blackpythondevs/blackpythondevs.</p>
25-
<p>* <sub>Those who marked their desire to remain anonymous have not been included</sub></p>
2630
</section>

0 commit comments

Comments
 (0)