Skip to content

adds featured image tag to post #311

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 5, 2024
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
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ DEPENDENCIES
webrick (~> 1.7)

RUBY VERSION
ruby 3.2.3p157
ruby 3.2.2p53

BUNDLED WITH
2.4.10
5 changes: 5 additions & 0 deletions _layouts/post.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
---
layout: default
---
{%- if page.featured_image -%}
<div class="hero-banner">
<img src="{{page.featured_image}}" class="featured-image">
</div>
{%- endif -%}
<article class="post h-entry" itemscope itemtype="http://schema.org/BlogPosting">

<header class="post-header">
Expand Down
29 changes: 29 additions & 0 deletions _posts/2024-05-03-pycon_ng_2024.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
layout: post
title: Black Python Devs is sponsoring PyCon Nigeria 2024
date: 2024-05-03
lang: en
featured_image: /assets/images/bpdxpyconng.jpg
---

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.

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.

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_

## Our commitment has encouraged others

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.

## To Qualify for a free student ticket

1. You must be a currently enrolled student in a Nigeria university
2. You must be one of the first 75 people member of the [Black Python Developers Discord](https://discord.gg/xdfSHRrcuH)
3. Use the command !pycon-ng in our general channel to receive instructions on how to register for the conference.

#### I'm not a student but would like to attend.

Please join the [Discord](https://discord.gg/xdfSHRrcuH) and let us know. We do have a few tickets available for _non-students_.

_All tickets for folks presently residing in Nigeria_
4 changes: 4 additions & 0 deletions assets/css/bpd.css
Original file line number Diff line number Diff line change
Expand Up @@ -447,3 +447,7 @@ img.leadership-photo {
.post-title > h3 {
font-size: smaller;
}

img.featured-image {
max-height: 20rem;
}
Binary file added assets/images/bpdxpyconng.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading