summaryrefslogtreecommitdiff
path: root/wk9/lect/hello/templates
diff options
context:
space:
mode:
authorFudgerboy <91767657+Fudgerboy@users.noreply.github.com>2024-07-09 09:20:41 +0000
committerFudgerboy <91767657+Fudgerboy@users.noreply.github.com>2024-07-09 09:20:41 +0000
commit308b08232f0282433905c7abe24e14080f41071b (patch)
treec5cd4c76246c1ed3d46deeff1e1828cfc7726ee1 /wk9/lect/hello/templates
parent90ac834374afc01f7bd12fee9af7bc6b6156e65c (diff)
Tue, Jul 9, 2024, 2:20 AM -07:00
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 %}