-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.py
executable file
·59 lines (31 loc) · 818 Bytes
/
main.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
#!/usr/bin/env python
from flask import Flask, render_template
app = Flask(__name__)
@app.route("/about")
def about():
return render_template("about.html")
@app.route("/highlights")
def hightlights_():
return render_template("highlights.html")
@app.route("/")
def index():
return render_template("homepage.html")
@app.route("/latest")
def latest():
return render_template("latest.html")
@app.route("/menu")
def menu_():
return render_template("menupage.html")
@app.route("/portfol")
def portfolio_():
return render_template("Portfolio.html")
@app.route("/g")
def gallery():
return render_template("profile.html")
'''
@app.route("/b",method=["GET", "POST"])
def index():
return "Method use is %s" % request.method
'''
if __name__ == "__main__":
app.run()