Skip to content

Commit 03fc3ab

Browse files
authored
adds featured image tag to post (#311)
* adds featured image tag to post * update date of post
1 parent fe8ceb9 commit 03fc3ab

File tree

5 files changed

+39
-1
lines changed

5 files changed

+39
-1
lines changed

Gemfile.lock

+1-1
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ DEPENDENCIES
281281
webrick (~> 1.7)
282282

283283
RUBY VERSION
284-
ruby 3.2.3p157
284+
ruby 3.2.2p53
285285

286286
BUNDLED WITH
287287
2.4.10

_layouts/post.html

+5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
---
22
layout: default
33
---
4+
{%- if page.featured_image -%}
5+
<div class="hero-banner">
6+
<img src="{{page.featured_image}}" class="featured-image">
7+
</div>
8+
{%- endif -%}
49
<article class="post h-entry" itemscope itemtype="http://schema.org/BlogPosting">
510

611
<header class="post-header">

_posts/2024-05-03-pycon_ng_2024.md

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
---
2+
layout: post
3+
title: Black Python Devs is sponsoring PyCon Nigeria 2024
4+
date: 2024-05-03
5+
lang: en
6+
featured_image: /assets/images/bpdxpyconng.jpg
7+
---
8+
9+
We're happy to annouce that Black Python Devs will be sponsoring [PyCon Nigeria 2024](https://ng.pycon.org/) as a part of our _Build Local Community Initiative_. This commitment comes with the added benefit of free student ticket for qualifying Black Python Devs members.
10+
11+
We are proud to extend this opportunity to students in Black Python Devs. We've learned that barriers don't need to be large but can compound. This means that even reducing a single barrier may influence the decision to attend an event greatly.
12+
13+
It's also important that we create opportunities to invest in the next generation of developers as often as possible. This sponsorship aligns with our pillar of _Extend Their Reach_
14+
15+
## Our commitment has encouraged others
16+
17+
When announcing our intent to sponsor this event we did recieve messages from others in support and asking how they could contribute to getting more folks to the event.
18+
19+
## To Qualify for a free student ticket
20+
21+
1. You must be a currently enrolled student in a Nigeria university
22+
2. You must be one of the first 75 people member of the [Black Python Developers Discord](https://discord.gg/xdfSHRrcuH)
23+
3. Use the command !pycon-ng in our general channel to receive instructions on how to register for the conference.
24+
25+
#### I'm not a student but would like to attend.
26+
27+
Please join the [Discord](https://discord.gg/xdfSHRrcuH) and let us know. We do have a few tickets available for _non-students_.
28+
29+
_All tickets for folks presently residing in Nigeria_

assets/css/bpd.css

+4
Original file line numberDiff line numberDiff line change
@@ -447,3 +447,7 @@ img.leadership-photo {
447447
.post-title > h3 {
448448
font-size: smaller;
449449
}
450+
451+
img.featured-image {
452+
max-height: 20rem;
453+
}

assets/images/bpdxpyconng.jpg

214 KB
Loading

0 commit comments

Comments
 (0)