Skip to content

Commit 6841c66

Browse files
authored
Fix leadership page not loading members (#775)
1 parent b56599a commit 6841c66

File tree

4 files changed

+63
-61
lines changed

4 files changed

+63
-61
lines changed

.pre-commit-config.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,3 @@ repos:
3232
rev: 23.9.1
3333
hooks:
3434
- id: black
35-
- repo: https://github.com/kjaymiller/frontmatter-check
36-
rev: "2025.1.1b2"
37-
hooks:
38-
- id: frontmatter-check

_data/leadership.json

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
{
2+
"Executors": [
3+
{
4+
"name": "Jay Miller",
5+
"title": "Executor",
6+
"image": "https://github.com/kjaymiller.png",
7+
"alt": "photo of Jay"
8+
},
9+
{
10+
"name": "Abigail Afi Gbadago",
11+
"title": "Executor (Africa)",
12+
"image": "/assets/images/afi.webp"
13+
},
14+
{
15+
"name": "Emmanuel Ugwu",
16+
"title": "Vice-Executor (Africa)",
17+
"image": "/assets/images/nuel.webp"
18+
},
19+
{
20+
"name": "Lazuich Ford",
21+
"title": "Executor (North America)",
22+
"image": "/assets/images/laz.webp"
23+
},
24+
{
25+
"name": "Keanya Phelps",
26+
"title": "Vice-Executor (North America)",
27+
"image": "/assets/images/keanya.webp"
28+
}
29+
],
30+
"Leaders": [
31+
{
32+
"name": "Damilola Oladele",
33+
"title": "Documentation Lead"
34+
},
35+
{
36+
"name": "Doreen Nangira",
37+
"title": "Code of Conduct Team Lead"
38+
},
39+
{
40+
"name": "Sandra Ashipala",
41+
"title": "Welcoming Team"
42+
}
43+
],
44+
"Advisors": ["Benedict Koji Amofah", "Ronald Maravanyika", "Kudzayi Bamhare", "Kojo Idrissa", "Carol Willing", "Jeff Triplett", "Dr. Kari L. Jordan"],
45+
"Council": [
46+
"Dawn Wages",
47+
"Sarah Abderemane",
48+
"Abigail Mesyenrame Dogbe",
49+
"Velda Kiara",
50+
"Kojo Idrissa",
51+
"Aisha Bello",
52+
"Brayan Kai",
53+
"Chris Achinga",
54+
"Denny Perez",
55+
"Felipe Quieroz",
56+
"Marlene Mhangami",
57+
"Monica Oyugi",
58+
"Ngazetungue Muheue",
59+
"Steve Yonkeu",
60+
"BAOVOLA Marie Anna"
61+
]
62+
}

_data/leadership.yaml

Lines changed: 0 additions & 57 deletions
This file was deleted.

app.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ class Index(Page):
4242
@app.page
4343
class About(Page):
4444
template = "about.html"
45+
data = json.loads(pathlib.Path("_data/leadership.json").read_text())
4546

4647

4748
@app.page

0 commit comments

Comments
 (0)