portfolio-website/project/portfolio/routes.py

12 lines
328 B
Python
Raw Normal View History

from . import portfolio_blueprint
from flask import render_template, abort
2022-07-13 05:15:23 +00:00
categories = ['residential', 'commercial', 'office', 'industrial']
@portfolio_blueprint.route('/')
def index():
2022-07-13 05:15:23 +00:00
return render_template('index.html')
@portfolio_blueprint.route('/gallery/')
def gallery():
return render_template('gallery.html')