Smarter/smarter/about.py
Arija A. a3a6316054
.html -> .j2 for Jinja2 correctness
Signed-off-by: Arija A. <ari@ari.lt>
2025-05-27 23:34:42 +03:00

28 lines
561 B
Python

from flask import Blueprint, render_template
bp = Blueprint("about", __name__, url_prefix="/about")
@bp.route("/")
def index():
return render_template("about/index.j2")
@bp.route("/opentdb")
def opentdb():
return render_template("about/opentdb.j2")
@bp.route("/why-was-my-question-removed")
def question_removed():
return render_template("about/question_removed.j2")
@bp.route("/license")
def license():
return render_template("about/license.j2")
@bp.route("/contacts")
def contacts():
return render_template("about/contacts.j2")