You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
689 B
Python
29 lines
689 B
Python
from flask import Blueprint, render_template, redirect
|
|
|
|
|
|
bp = Blueprint("home", __name__, url_prefix="/")
|
|
|
|
|
|
@bp.route("/")
|
|
def home():
|
|
return render_template("home.html")
|
|
|
|
@bp.route("/%F0%9F%92%AC/")
|
|
@bp.route('/💬/')
|
|
def bitsi():
|
|
return redirect('https://issue.xpub.nl/17/unfinished-thoughts/')
|
|
|
|
@bp.route('/%F0%9F%A4%9D/')
|
|
@bp.route('/🤝/')
|
|
def connectless():
|
|
return redirect('https://pzwiki.wdka.nl/mediadesign/Connect-less')
|
|
|
|
@bp.route('/%F0%9F%96%8C/')
|
|
@bp.draw('/🖌/')
|
|
def draw():
|
|
return redirect('https://hub.xpub.nl/soupboat/xquisite/')
|
|
|
|
@bp.route('/%F0%9F%8D%A5/')
|
|
@bp.route('/🍥/')
|
|
def roll():
|
|
return redirect('https://issue.xpub.nl/17/katamari/') |