Skip to content

Commit 9e9d9d2

Browse files
authored
add parnerships section (#378)
* add parnerships section * add post and block to index * rename and fix link * fix error on for loop * remove commend and fix data ref * update for loop call into data * update partnerships with right data * adds logos * change order
1 parent ed88eb8 commit 9e9d9d2

File tree

6 files changed

+50
-0
lines changed

6 files changed

+50
-0
lines changed

_data/partnerships.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
- name: "TalkPython Training"
2+
promo_code: "bpd-20pc-1c1da"
3+
description: "When you use the promo code: <strong>bpd-20pc-1c1da</strong> at checkout, you will receive 10% off your course purchase. TalkPython Training will also donate 20% of the purchase to Black Python Devs."
4+
url: "/2024-08-16-talkpython-training-partnership"
5+
logo: "/assets/images/talkpython.webp"
6+
- name: "Python Morsels"
7+
promo_code: "BlackPythonDevs"
8+
description: 'When signing up for the <em><a href="https://www.pythonmorsels.com/high-five/">High Five</a></em> getting started with Python program, use the promo code <strong>BlackPythonDevs</strong> at checkout, you will receive $30 off your course purchase. Python Morsels will also donate $70 of the purchase to Black Python Devs.'
9+
url: "https://blackpythondevs.com/2024-08-15-python-morsels-black-python-devs-high-five/"
10+
logo: "/assets/images/python-morsels.svg"

_includes/partnerships.html

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<div>
2+
<h2>Partnerships</h2>
3+
4+
<p>We're happy to share with you our proud sponsors who offer their products at discounted rates and a portion of proceeds go to support Black Python Devs!</p>
5+
6+
<div class="grid">
7+
{% for partner in site.data.partnerships %}
8+
<article>
9+
<div class="grid">
10+
<div>
11+
<img src="{{partner.logo}}" alt="{{partner.name}} Logo" style="max-height: 14em" />
12+
</div>
13+
<div>
14+
<h3><a href="{{partner.url}}">{{ partner.name }}</a></h3>
15+
<p>{{ partner.description }}</p>
16+
<a href="{{ partner.url }}">Learn more</a>
17+
</div>
18+
</div>
19+
</article>
20+
{% endfor %}
21+
</div>
22+
</div>

_layouts/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,6 @@
1212

1313
{%- include latest-posts.html -%}
1414
{%- include join_us.html -%}
15+
{%- include partnerships.html -%}
1516
{%- include newsletter_form.html -%}
1617
</div>
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
title: "Talk Python Training Partners with Black Python Devs"
3+
date: 2024-08-16
4+
author: Jay Miller
5+
lang: en
6+
---
7+
8+
We are excited to announce a new partnership with TalkPython Training!
9+
10+
When purchasing a course, you can use the promo code `bpd-20pc-1c1da` to receive a 10% discount. When you do this Black Python Devs will receive a 20% commission on the sale.
11+
12+
This is a great way to support Black Python Devs and invest in your own learning all at the same time. We hope you take advantage of this opportunity.
13+
14+
## Extending a Long Time Partnership
15+
16+
This is the second partnership that we've done with TalkPython Training. Since our earliest days, Michael Kennedy the founder of the site has been a supporter of Black Python Devs. We are grateful for his continued support and look forward to working with him in the future.

0 commit comments

Comments
 (0)