from flask import Flask, render_template app = Flask(__name__) @app.route('/') def index(): return render_template('index.html', title="Index - JPs") @app.route('/test') def test(): return render_template('test.html')