Skip to content

Commit c0591ea

Browse files
authored
pycon: add shortlinks to leadership summit and students program (#905)
* add redirects for shortlinks for students and leadership * pre-commit
1 parent a0981aa commit c0591ea

3 files changed

Lines changed: 32 additions & 0 deletions

File tree

app.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,11 @@ class Index(Page):
6868
content_path = "index.html"
6969

7070

71+
@app.page
72+
class Students(Page):
73+
content_path = "students.html"
74+
75+
7176
@app.page
7277
class Community(Page):
7378
content_path = "community.html"
@@ -78,6 +83,11 @@ class Partnerships(Page):
7883
content_path = "partnerships.html"
7984

8085

86+
@app.page
87+
class Leadership(Page):
88+
content_path = "leadership.html"
89+
90+
8191
@app.page
8292
class About(Page):
8393
template = "about.html"

leadership.html

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<!doctype html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="utf-8" />
5+
<meta http-equiv="refresh" content="0; url=/black-python-devs-leadership-summit-2026-ohio.html" />
6+
<title>Redirecting to Black Python Devs Leaderhsip Summit 2026-Ohio</title>
7+
</head>
8+
<body>
9+
<p>Redirecting to <a href="/black-python-devs-leadership-summit-2026-ohio.html">Black Python Devs Leaderhsip Summit 2026-Ohio</a>...</p>
10+
</body>
11+
</html>

students.html

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<!doctype html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="utf-8" />
5+
<meta http-equiv="refresh" content="0; url=/student-ambassadors-program.html" />
6+
<title>Redirecting to Student Ambassador Program</title>
7+
</head>
8+
<body>
9+
<p>Redirecting to <a href="/student-ambassador-program.html">Student Ambassador Program</a>...</p>
10+
</body>
11+
</html>

0 commit comments

Comments
 (0)