from flask import Blueprint, render_template from starfall.web.blueprints.base import BaseBlueprint class HomeBlueprint(BaseBlueprint): def __init__(self, blueprint: Blueprint) -> None: super().__init__(blueprint) blueprint.add_url_rule("/", view_func=self.index) def index(self): self._log_access() return render_template("home.html")