Skip to content
Snippets Groups Projects
Unverified Commit 157be9b4 authored by Oliver Smith's avatar Oliver Smith
Browse files

new redirect: /ssh-key-glob/

Add a redirect for pmb MR 2251. If we add more of these in the future,
it would make sense to make this more generic just like how it works
for the wiki pages.
parent 354835b7
Branches master
No related tags found
No related merge requests found
......@@ -168,6 +168,12 @@ def blog_post_redirect_download():
"redirect.html",
url="/install/")
@app.route('/ssh-key-glob/')
def blog_post_redirect_ssh_key_glob():
return template.render_template(
"redirect.html",
url="https://docs.postmarketos.org/pmbootstrap/ssh-keys.html")
@app.route('/<slug>/')
def static_page_or_wiki_redirect(slug):
""" WARNING: This must be the last route! """
......
......@@ -45,6 +45,7 @@ def static_page_or_wiki_redirect():
def other_redirect():
yield '/donate/'
yield '/download/'
yield '/ssh-key-glob/'
def check_conflicts():
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment