from flask import Blueprint, render_template blueprint = Blueprint("search", __name__, url_prefix="/search") @blueprint.route("/") def search_page(): return render_template("search.html")