A Python content management system designed for kirsle.net featuring a blog, comments and photo albums. https://rophako.kirsle.net/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
519 B

# -*- coding: utf-8 -*-
# Legacy endpoint compatibility from kirsle.net.
from flask import request, redirect
from rophako import app
def google_plus():
return redirect("https://plus.google.com/+NoahPetherbridge/posts")
def legacy_blog():
post_id = request.args.get("id", "")
# All of this is TO-DO.
# friendly_id = get friendly ID
# return redirect(...)
return "TO-DO"
def legacy_url(page):
return "/{}".format(page)