summaryrefslogtreecommitdiff
path: root/wk9/lect/cookies/templates/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'wk9/lect/cookies/templates/index.html')
-rw-r--r--wk9/lect/cookies/templates/index.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/wk9/lect/cookies/templates/index.html b/wk9/lect/cookies/templates/index.html
new file mode 100644
index 0000000..f902b58
--- /dev/null
+++ b/wk9/lect/cookies/templates/index.html
@@ -0,0 +1,15 @@
+{% extends "layout.html" %}
+
+{% block body %}
+
+ {% if name %}
+
+ You are logged in as {{ name }}.
+
+ {% else %}
+
+ You are not logged in.
+
+ {% endif %}
+
+{% endblock %}