Skip to content

Commit

Permalink
Show cover photos on blog
Browse files Browse the repository at this point in the history
  • Loading branch information
mtrythall committed Apr 26, 2024
1 parent 8026f3b commit 252bd6a
Show file tree
Hide file tree
Showing 10 changed files with 27 additions and 16 deletions.
Empty file added src/404.html
Empty file.
7 changes: 4 additions & 3 deletions src/_content/posts/announcing-call-for-proposals.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@
author: Jason Judkins
category: General
date: 2024-03-09 06:00:00
image: speaker_cfp.png
post_photo_url: speaker_cfp.jpg
post_photo_alt: "Abigail Mesrenyame Dogbe speaking at DjangoCon US 2023"
cover:
url: /assets/img/blog/speaker_cfp.jpg
alt: "Abigail Mesrenyame Dogbe speaking at DjangoCon US 2023"
title: "The Call for Proposals for DjangoCon US 2024 Is Now Open!"
---

We are excited that DjangoCon US 2024 is now open for talk submissions: [call for proposals](https://pretalx.com/djangocon-us-2024/cfp)! The deadline for submissions is April 24th, 2024 at [Noon EDT](https://time.is/1200PM_24_April_2024_in_Durham,_United_States?DjangoCon_US_CFP_Closes).

<!-- excerpt -->
Expand Down
5 changes: 3 additions & 2 deletions src/_content/posts/announcing-djangocon-us-2024.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
---
title: Code, test, ship it! DjangoCon US 2024 has been announced!
layout: post

author: DjangoCon US Organizers
category: General
date: 2024-01-17 05:00:00
layout: post
title: Code, test, ship it! DjangoCon US 2024 has been announced!
---

Hello everyone, we have our dates! September 22nd-27th.
Expand Down
6 changes: 3 additions & 3 deletions src/_content/posts/benefits-of-speaking-djangocon.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
author: DjangoCon US Communications Team
category: General
date: 2024-04-04 12:00:00
image: /assets/img/blog/cfp-announced-2024.png
layout: post
post_photo_alt: Speaker presenting at DjangoCon US 2023 in Durham, NC
post_photo_url: /assets/img/blog/cfp-announced-2024.png
cover:
url: /assets/img/blog/cfp-announced-2024.png
alt: Speaker presenting at DjangoCon US 2023 in Durham, NC
title: What are the Benefits of Speaking at DjangoCon US?
---

Expand Down
2 changes: 1 addition & 1 deletion src/_content/posts/call-for-community-reviewers.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ author: DjangoCon US Communication Team
category: General
date: 2024-04-08 06:00:00

post_photo:
cover:
url: /assets/img/blog/call-for-reviewers-2024.png
alt: "Lacey Henschel speaking at DjangoCon US 2018"
---
Expand Down
6 changes: 3 additions & 3 deletions src/_content/posts/cfp-last-call.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ author: DjangoCon US Communication Team
category: General
date: 2024-04-18 06:00:00
layout: post
image: /assets/img/blog/speaker_cfp.png
post_photo_url: /assets/img/blog/speaker_cfp.jpg
post_photo_alt: "Abigail Mesrenyame Dogbe speaking at DjangoCon US 2023"
cover:
url: /assets/img/blog/speaker_cfp.jpg
alt: "Abigail Mesrenyame Dogbe speaking at DjangoCon US 2023"
title: "Don't Miss Out: Last Call for DjangoCon US 2024 Talk Proposals!"
---
Hey Django enthusiasts!
Expand Down
4 changes: 3 additions & 1 deletion src/_content/posts/early-bird-tickets-on-sale.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ author: DjangoCon US Communication Team
category: General
date: 2024-04-24 06:00:00
layout: post
image: /assets/img/blog/early-bird-2024.png
cover:
url: /assets/img/blog/early-bird-2024.png
alt: "Early-bird tickets now on sale!"
title: "Early-bird tickets now on sale!"
---

Expand Down
7 changes: 4 additions & 3 deletions src/_content/posts/opportunity-grant-last-call.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ author: DjangoCon US Communication Team
category: General
date: 2024-04-22 06:00:00
layout: post
image: /assets/img/blog/og-last-call.jpg
post_photo_url: /assets/img/blog/og-last-call.jpg
post_photo_alt: "End of our Opportunity Grants is coming up!"
cover:
url: /assets/img/blog/og-last-call.jpg
alt: "End of our Opportunity Grants is coming up!"

title: "Heads Up! End of our Opportunity Grants is coming up!"
---

Expand Down
6 changes: 6 additions & 0 deletions src/_layouts/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ <h1 class="text-3xl font-bold font-heading lg:text-5xl text-balance">{{ title }}

<div class="px-4 pt-6 pb-16">
<div class="mx-auto prose lg:prose-lg">
{% if cover %}
<figure>
<img src="{{ cover.url }}" alt="{{ cover.alt }}" class="w-full media" />
</figure>
{% endif %}

{{ content }}
</div>
</div>
Expand Down
Empty file added src/feed.xml
Empty file.

0 comments on commit 252bd6a

Please sign in to comment.