This commit is contained in:
parent
7a08de831a
commit
d4be063d00
4
app.py
4
app.py
@ -20,6 +20,10 @@ js.build()
|
|||||||
|
|
||||||
@app.route("/")
|
@app.route("/")
|
||||||
def homepage():
|
def homepage():
|
||||||
|
return render_template("main-page.html")
|
||||||
|
|
||||||
|
@app.route("/todo")
|
||||||
|
def page_todo():
|
||||||
return render_template("page1.html")
|
return render_template("page1.html")
|
||||||
|
|
||||||
|
|
||||||
|
9
templates/main-page.html
Normal file
9
templates/main-page.html
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
{% extends "base.html" %}
|
||||||
|
|
||||||
|
{% block content %}
|
||||||
|
|
||||||
|
<div class="content">
|
||||||
|
sup
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{% endblock content %}
|
Loading…
Reference in New Issue
Block a user