from flask import Blueprint, render_template

main_blueprint = Blueprint('main', __name__, template_folder='templates')

@main_blueprint.route('/')
def home():
    return render_template('home.html')

@main_blueprint.route('/about') # canonical url does not have trailing '/'
def about():
    return render_template('about.html')
