aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/glossary.py4
-rw-r--r--wqflask/wqflask/templates/glossary.html7
2 files changed, 9 insertions, 2 deletions
diff --git a/wqflask/wqflask/glossary.py b/wqflask/wqflask/glossary.py
index 0918744a..a44e7c45 100644
--- a/wqflask/wqflask/glossary.py
+++ b/wqflask/wqflask/glossary.py
@@ -1,9 +1,9 @@
from flask import Blueprint
-
+from flask import render_template
glossary_blueprint = Blueprint('glossary_blueprint', __name__)
@glossary_blueprint.route('/')
def glossary():
- return "This is a test", 200
+ return render_template("glossary.html"), 200
diff --git a/wqflask/wqflask/templates/glossary.html b/wqflask/wqflask/templates/glossary.html
new file mode 100644
index 00000000..988297d3
--- /dev/null
+++ b/wqflask/wqflask/templates/glossary.html
@@ -0,0 +1,7 @@
+{% extends "base.html" %}
+
+{% block title %}Glossary{% endblock %}
+
+{% block content %}
+Test
+{% endblock %}