migrate app from svelte
This commit is contained in:
31
app.py
Normal file
31
app.py
Normal file
@@ -0,0 +1,31 @@
|
||||
from flask import Flask, render_template
|
||||
|
||||
app = Flask(__name__)
|
||||
|
||||
@app.route("/")
|
||||
def index():
|
||||
return render_template("index.html")
|
||||
|
||||
@app.route("/about")
|
||||
def about():
|
||||
return render_template("about.html")
|
||||
|
||||
@app.route("/contact")
|
||||
def contact():
|
||||
return render_template("contact.html")
|
||||
|
||||
@app.route("/portfolio")
|
||||
def portfolio():
|
||||
return render_template("portfolio.html")
|
||||
|
||||
@app.route("/dog")
|
||||
def dog():
|
||||
return render_template("dog.html")
|
||||
|
||||
@app.route("/blog")
|
||||
def blog():
|
||||
return render_template("blog.html")
|
||||
|
||||
if __name__ == '__main__':
|
||||
app.run(debug=True)
|
||||
|
||||
Reference in New Issue
Block a user