-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.py
38 lines (25 loc) · 818 Bytes
/
app.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
from flask import Flask, render_template #, flash, request, redirect, render_template
# Create the flask app
app = Flask(__name__)
# Create the route for homepage upload.html
@app.route('/')
def home_page():
return render_template('home.html')
# Create the route for the about me page
@app.route('/home')
def home_page_return():
return render_template('home.html')
# Create the route for the portfolio page
@app.route('/portfolio')
def portfolio_page():
return render_template('portfolio.html')
# Create the route for resume page
@app.route('/resume')
def resume_page():
return render_template('resume.html')
# Create the route for the Contact Me page
@app.route('/contact')
def contact_page():
return render_template('contact.html')
if __name__ == "__main__":
app.run(debug=True)