Skip to content

Commit dadbfdb

Browse files
committed
get all pages working
1 parent dc80989 commit dadbfdb

File tree

5 files changed

+7
-5
lines changed

5 files changed

+7
-5
lines changed

_layouts/_includes/header.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{% set t = locales %}
22
<header class="site-header" role="banner">
3-
<h1 class="site-title"><a class="logo-text" href="/index.html"><img src="{{ 'assets/images/black_python_devs_logo-horizontal-white.png' }}" alt="Black Python Devs" /></a></h1>
3+
<h1 class="site-title"><a class="logo-text" href="/index.html"><img src="{{ '/assets/images/black_python_devs_logo-horizontal-white.png' }}" alt="Black Python Devs" /></a></h1>
44
<nav class="site-navigation" aria-label="Main navigation">
55
<div class="site-navigation-wrap">
66
<ul class="menu" role="menu">

_layouts/blog-list.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ <h2><a href="{{ page }}.html">
1212
{% if page.description %}
1313
<p>{{page.description}}</p>
1414
{% endif %}
15-
<small>{{page.author}} - <strong>{{page.date}}</strong></small>
15+
<small>{{page.author}} - <strong>{{page.date | format_datetime}}</strong></small>
1616
</div>
1717
</article>
1818
{% endfor %}

_layouts/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<img style="max-width: 15rem; max-height:20rem;" src="/assets/images/bpd_stacked.png" />
1515
</div>
1616
<div style="">
17-
<h1 class="hero-text">Creating stable leaders and communities for Black Pythonistas around the world.</h1>
17+
<h1 class="hero-text">Helping build communities for Black Pythonistas around the world.</h1>
1818
</div>
1919
</article>
2020

app.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
app.static_paths.add("assets")
2525
app.site_vars["locales"] = ["en"]
2626
app.site_vars["navigation"] = navigation
27+
app.site_vars["DATETIME_FORMAT"] = "%d %b %Y"
2728

2829

2930
@app.page
@@ -55,6 +56,7 @@ class Pages(Collection):
5556

5657
@app.collection
5758
class Events(Collection):
59+
Parser = MarkdownPageParser
5860
content_path = "events"
5961
template = "default.html"
6062
routes = ["./events"]

output/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
</head>
1414

1515
<body><header class="site-header" role="banner">
16-
<h1 class="site-title"><a class="logo-text" href="/index.html"><img src="assets/images/black_python_devs_logo-horizontal-white.png" alt="Black Python Devs" /></a></h1>
16+
<h1 class="site-title"><a class="logo-text" href="/index.html"><img src="/assets/images/black_python_devs_logo-horizontal-white.png" alt="Black Python Devs" /></a></h1>
1717
<nav class="site-navigation" aria-label="Main navigation">
1818
<div class="site-navigation-wrap">
1919
<ul class="menu" role="menu">
@@ -59,7 +59,7 @@ <h1 class="site-title"><a class="logo-text" href="/index.html"><img src="assets/
5959
<img style="max-width: 15rem; max-height:20rem;" src="/assets/images/bpd_stacked.png" />
6060
</div>
6161
<div style="">
62-
<h1 class="hero-text">Creating stable leaders and communities for Black Pythonistas around the world.</h1>
62+
<h1 class="hero-text">Helping build communities for Black Pythonistas around the world.</h1>
6363
</div>
6464
</article>
6565

0 commit comments

Comments
 (0)