mirror of
https://github.com/senju1337/senju.git
synced 2025-12-24 07:39:29 +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("/")
|
@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")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue