from . import portfolio_blueprint from flask import render_template, abort categories = ['residential', 'commercial', 'office', 'industrial'] @portfolio_blueprint.route('/') def index(): return render_template('index.html') @portfolio_blueprint.route('/gallery/') def gallery(): return render_template('gallery.html')