from flask import Blueprint, render_template bp = Blueprint("main", __name__) @bp.route("/") def index() -> str: return render_template("index.html")