Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 23 additions & 1 deletion _data/foundational_supporters.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,27 @@
{
"2025": ["Aman Singh", "Angela Andrews", "Carol Willing", "Hugh Dyar", "Jeremy Carbaugh", "Jonathan Banafato", "Mike Fiedler", "Ned Batchelder", "Peter Pinch", "Savannah Ostrowski", "Tim Schilling", "Vance Arocho"],
"2025": [
"Aman Singh",
"Ned Batchelder",
"Tim Schilling",
"Jannis Leidel",
"Angela Andrews",
"Vance Arocho",
"jonathan banafato",
"Jeremy Carbaugh",
"Mike Fiedler",
"Savannah Bailey",
"Peter Pinch",
"Carol Willing",
"Tim Schilling",
"Hugh Dyar",
"Melanie Arbor",
"Joseph Bannerman",
"Philip James",
"Erik Johnson",
"Deb Nicholson",
"Andrew Sutherland",
"David Scharbach"
],
"2024": [
"Albert Sweigart",
"Angela Andrews",
Expand Down
11 changes: 6 additions & 5 deletions _layouts/_includes/foundational_supporters.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@
<h2>Foundational Supporters</h2>
<p>Black Python Devs operates primarily on support from individuals. It is those supporters that serve as the foundation for what we do.</p>
<p>We would like to recognize our supporters who donate at least $200 each year.</p>
{% for year in data %}
<article>
<h3>{{year}} Supporters</h3>

{% for data_year in data %}
<details name="{{data_year}}" {% if data_year="" ="year" %}open{% endif %}>
<summary>{{data_year}}</summary>
<div class="grid">
{% for data_lists in data[year] | slice(3) %}
{% for data_lists in data[data_year] | sort | slice(3) %}
<section class="">
<div>
<ul>
Expand All @@ -18,7 +19,7 @@ <h3>{{year}} Supporters</h3>
</section>
{% endfor %}
</div>
</article>
</details>
{% endfor %}
<p>You can view the archive of supporters<sup>*</sup> by year at https://github.com/blackpythondevs/blackpythondevs.</p>
<p>* <sub>Those who marked their desire to remain anonymous have not been included</sub></p>
Expand Down
3 changes: 2 additions & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
app.site_vars["locales"] = ["en"]
app.site_vars["navigation"] = navigation
app.site_vars["DATETIME_FORMAT"] = "%d %b %Y"
app.site_vars["year"] = str(datetime.date.today().year)


@app.page
Expand Down Expand Up @@ -58,7 +59,7 @@ class SponsoredEvents(Page):
template = "sponsored-events.html"
slug = "sponsored-events"
data = json.loads(pathlib.Path("_data/sponsored_events.json").read_text())
template_vars = {"year": str(datetime.date.today().year)}
template_vars = {}


@app.collection
Expand Down
Loading