24 lines
559 B
Python
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')
|