Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 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
17 changes: 17 additions & 0 deletions _layouts/_includes/partnerships.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<section>
<h2>Partnerships</h2>
<p>Black Python Devs has partnered with the following organizations to offer discounts and benefits to our community.</p>
<div class="grid">
{% for partner in partnerships %}
<article>
<header>
<a href="{{partner.url}}">
<img src="{{partner.logo}}" alt="{{partner.name}} logo" style="max-height: 80px; object-fit: contain" />
</a>
</header>
<h3><a href="{{partner.url}}">{{partner.name}}</a></h3>
<p>{{partner.description}}</p>
</article>
{% endfor %}
</div>
</section>
Empty file removed _layouts/partnerships.html
Empty file.
1 change: 1 addition & 0 deletions _layouts/support.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
{% block content %}
{{content}}
{% include "_includes/support_widget.html" %}
{% include "_includes/partnerships.html" %}
{% include "_includes/foundational_supporters.html" %}
{% include "_includes/pitch_deck.html" %}
{% endblock %}
1 change: 1 addition & 0 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ class Support(Page):
content_path = "support.md"
template = "support.html"
data = json.loads(pathlib.Path("_data/foundational_supporters.json").read_text())
partnerships = json.loads(pathlib.Path("_data/partnerships.json").read_text())


@app.page
Expand Down