summaryrefslogtreecommitdiff
path: root/wk9/lect/hello/templates
diff options
context:
space:
mode:
Diffstat (limited to 'wk9/lect/hello/templates')
-rw-r--r--wk9/lect/hello/templates/greet.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/wk9/lect/hello/templates/greet.html b/wk9/lect/hello/templates/greet.html
index e340324..f38174a 100644
--- a/wk9/lect/hello/templates/greet.html
+++ b/wk9/lect/hello/templates/greet.html
@@ -2,6 +2,6 @@
{% block body %}
- hello, {{ name }}
+ hello, {% if name %}{{ name }}{% else %}world{% endif %}
{% endblock %}