jpscontracting/run_site.py
2017-01-25 18:07:07 -05:00

24 lines
559 B
Python

from flask import Flask, render_template
app = Flask(__name__)
@app.route('/')
@app.route('/index')
def index():
return render_template('index.html', title="Index - JPs")
@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")
@app.route('/test')
def test():
return render_template('test.html')