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
5 changes: 4 additions & 1 deletion _data/sponsored_events.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{
"2024": ["PyTexas", "PyOhio", "PyCon Africa", "PyCon South Africa", "PyCon Zimbabwe", "PyCon Nigeria", "IndabaX - Botswana", "PyCon Uganda", "PyHo - Ghana"],
"2024": {
"Africa": ["PyCon Africa", "PyCon South Africa", "PyCon Zimbabwe", "PyCon Nigeria", "IndabaX - Botswana", "PyCon Uganda", "PyHo - Ghana"],
"North America": ["PyTexas", "PyOhio"]
},
"2025": {
"Africa": ["Django Girls - Ho", "PyCon Africa", "DjangoCon Africa", "IndabaX - Botswana", "PyCon Namibia", "PyTogo", "Zero to Hero Mentorship Program - Nigeria"],
"North America": ["PyTexas Foundation", "PyOhio", "PyBeach"],
Expand Down
28 changes: 20 additions & 8 deletions _layouts/sponsored-events.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,28 @@ <h1>Supported Events</h1>
<p>Here is a look at events this year that we've supported:</p>
</section>


<section>
<h2>Events Sponsored in {{year}}</h2>
<section class="grid">
{% for segment in data[year] | sort %}
<article>
<h3>{{segment}}</h3>
{% for event in data[year][segment] | sort %}
<p>{{event}}</p>
<h2>Events Sponsored by year</h2>
{% for segment_year in data | sort(reverse=True) %}
{% if segment_year == year %}
<details name="{{segment_year}}" open>
{% else %}
<details name="{{segment_year}}">
{% endif %}
<summary>{{segment_year}}</summary>
<section class="grid">
{% for segment in data[segment_year] | sort %}
<article>
<h3>{{segment}}</h3>
{% for event in data[segment_year][segment] | sort %}
<p>{{event}}</p>
{% endfor %}
</article>
{% endfor %}
</article>
</section>
</details>
<hr/>
{% endfor %}
</section>

Expand Down
Loading