Skip to content

Commit 66d0068

Browse files
authored
update title on post (#742)
1 parent 6847b61 commit 66d0068

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

_layouts/event-list.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{% extends "default.html" %}
22
{% block content %}
33
<section>
4-
<h1>Blog Posts</h1>
4+
<h1>{{title}}</h1>
55
{% for page in pages %}
66
<article>
77
<h2><a href="{{ page }}.html">

app.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ class Pages(Collection):
7070

7171
@app.collection
7272
class BPDEvents(Collection):
73+
title = "BPD Events"
7374
Parser = MarkdownPageParser
7475
content_path = "events"
7576
template = "default.html"

events/leadership-summit-2024.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
layout: event
33
lang: en
4-
title: Black Python Devs Leadership Summit
4+
title: Black Python Devs Leadership Summit 2024
55
tito_event: black-python-devs/leadership-summit
66
event_banner: "/assets/images/bpd-summit-card-deck.jpg"
77
commitchange_campaign_id: 5515

0 commit comments

Comments
 (0)