jpscontracting/run_site.py

24 lines
559 B
Python
Raw Normal View History

2017-01-12 18:08:01 +00:00
from flask import Flask, render_template
2017-01-12 13:06:39 +00:00
app = Flask(__name__)
@app.route('/')
@app.route('/index')
2017-01-12 13:06:39 +00:00
def index():
2017-01-12 18:08:01 +00:00
return render_template('index.html', title="Index - JPs")
2017-01-12 13:06:39 +00:00
2017-01-25 23:07:07 +00:00
@app.route('/about')
def about():
return render_template('aboutus.html', title="Index - JPs")
@app.route('/portfoliio')
def portfolio():
return render_template('index.html', title="Index - JPs")
@app.route('/contact')
def contact():
return render_template('contactus.html', title="Index - JPs")
2017-01-12 13:06:39 +00:00
@app.route('/test')
def test():
return render_template('test.html')