refactor: rename all jinja files to html for autoescaping

This commit is contained in:
Christoph J. Scherr 2025-02-25 18:20:04 +01:00
parent 19c15b0cb7
commit cba9cb1e18
No known key found for this signature in database
GPG key ID: 9EB784BB202BB7BB
4 changed files with 2 additions and 2 deletions

View file

@ -5,12 +5,12 @@ app = Flask(__name__)
@app.route("/") @app.route("/")
def index_view(): def index_view():
return render_template("index.jinja", title="Senju") return render_template("index.html", title="Senju")
@app.route("/haiku") @app.route("/haiku")
def haiku_view(): def haiku_view():
return render_template( return render_template(
"haiku.jinja", "haiku.html",
title="Haiku of the Day") title="Haiku of the Day")