first commit
This commit is contained in:
parent
43ef936dab
commit
4bd40e3c25
2 changed files with 14 additions and 2 deletions
|
@ -3,5 +3,7 @@ from flask import Flask, render_template
|
||||||
app = Flask(__name__)
|
app = Flask(__name__)
|
||||||
|
|
||||||
@app.route("/")
|
@app.route("/")
|
||||||
def index:
|
def index():
|
||||||
return render_template
|
return render_template('index.j2')
|
||||||
|
|
||||||
|
app.run(debug=True)
|
||||||
|
|
|
@ -5,4 +5,14 @@
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
<header>
|
||||||
|
home | <a href="new">new paste</a> | <a href="explore">explore</a>
|
||||||
|
</header>
|
||||||
|
<br>
|
||||||
|
<br>
|
||||||
|
<br>
|
||||||
|
<center>
|
||||||
|
<h1>toastbin</h1>
|
||||||
|
<h3>the eventually good pastebin clone
|
||||||
|
</center>
|
||||||
</body>
|
</body>
|
||||||
|
|
Loading…
Add table
Reference in a new issue