29 lines
654 B
Python
29 lines
654 B
Python
from flask import Flask, render_template
|
|
|
|
app = Flask(__name__, static_folder='static', static_url_path='/static')
|
|
|
|
@app.route('/')
|
|
def index():
|
|
return render_template('view/index.html')
|
|
|
|
@app.route('/about')
|
|
def about():
|
|
return render_template('view/about.html')
|
|
|
|
@app.route('/contact')
|
|
def contact():
|
|
return render_template('view/contact.html')
|
|
|
|
@app.route('/projects')
|
|
def projects():
|
|
return render_template('view/projects.html')
|
|
|
|
@app.route('/experiences')
|
|
def experiences():
|
|
return render_template('view/experiences.html')
|
|
|
|
if __name__ == '__main__':
|
|
# app.run(debug=True)
|
|
app.run(debug=True, host='0.0.0.0', port=5000)
|
|
|