mirror of
https://github.com/senju1337/senju.git
synced 2025-12-23 23:39:27 +00:00
refactor: rename all jinja files to html for autoescaping
This commit is contained in:
parent
19c15b0cb7
commit
cba9cb1e18
4 changed files with 2 additions and 2 deletions
|
|
@ -5,12 +5,12 @@ app = Flask(__name__)
|
|||
|
||||
@app.route("/")
|
||||
def index_view():
|
||||
return render_template("index.jinja", title="Senju")
|
||||
return render_template("index.html", title="Senju")
|
||||
|
||||
|
||||
@app.route("/haiku")
|
||||
def haiku_view():
|
||||
|
||||
return render_template(
|
||||
"haiku.jinja",
|
||||
"haiku.html",
|
||||
title="Haiku of the Day")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue