2019-06-01 08:35:03 -07:00
|
|
|
from flask import Blueprint
|
|
|
|
|
from flask import render_template
|
2011-06-17 03:39:49 +02:00
|
|
|
|
2019-05-06 15:39:41 -04:00
|
|
|
frontend = Blueprint("frontend", __name__, template_folder="templates")
|
2011-06-17 03:39:49 +02:00
|
|
|
|
|
|
|
|
|
2019-05-06 15:39:41 -04:00
|
|
|
@frontend.route("/")
|
2011-06-17 03:39:49 +02:00
|
|
|
def index():
|
2019-05-06 15:39:41 -04:00
|
|
|
return render_template("frontend/index.html")
|
2014-09-03 17:57:44 +02:00
|
|
|
|
|
|
|
|
|
2019-05-06 15:39:41 -04:00
|
|
|
@frontend.route("/missing")
|
2014-09-03 17:57:44 +02:00
|
|
|
def missing_template():
|
2019-05-06 15:39:41 -04:00
|
|
|
return render_template("missing_template.html")
|