Skip to content
Permalink
60cd76fcb8
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
35 lines (26 sloc) 617 Bytes
from flask import Blueprint, render_template
main = Blueprint('main', __name__)
@main.route('/')
def screen():
"""
Shows the main screen
"""
return render_template('static_pages/main.html')
@main.route('/about')
def about():
"""
Shows the about page
"""
return render_template('static_pages/about.html')
@main.route('/contact')
def contact():
"""
Shows the about contact
"""
return render_template('static_pages/contact.html')
@main.route('/license')
def license():
"""
Shows the license
"""
return render_template('static_pages/license.html')