mirror of
https://github.com/senju1337/senju.git
synced 2025-12-24 23:59:28 +00:00
ci: automatic Python Formatter changes
This commit is contained in:
parent
f66b20d1e9
commit
e134182974
1 changed files with 6 additions and 4 deletions
|
|
@ -2,13 +2,15 @@ from flask import Flask, render_template
|
||||||
|
|
||||||
app = Flask(__name__)
|
app = Flask(__name__)
|
||||||
|
|
||||||
|
|
||||||
@app.route("/")
|
@app.route("/")
|
||||||
def index():
|
def index():
|
||||||
return render_template("index.jinja", title="Senju", active_page="home")
|
return render_template("index.jinja", title="Senju", active_page="home")
|
||||||
|
|
||||||
|
|
||||||
@app.route("/haiku")
|
@app.route("/haiku")
|
||||||
def haiku_page():
|
def haiku_page():
|
||||||
return render_template("haiku.jinja", title="Haiku of the Day", active_page="haiku")
|
return render_template(
|
||||||
|
"haiku.jinja",
|
||||||
|
title="Haiku of the Day",
|
||||||
|
active_page="haiku")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue