summaryrefslogtreecommitdiff
path: root/wk9/lect/hello/templates/greet.html
diff options
context:
space:
mode:
Diffstat (limited to 'wk9/lect/hello/templates/greet.html')
-rw-r--r--wk9/lect/hello/templates/greet.html16
1 files changed, 6 insertions, 10 deletions
diff --git a/wk9/lect/hello/templates/greet.html b/wk9/lect/hello/templates/greet.html
index 7e90e67..104074f 100644
--- a/wk9/lect/hello/templates/greet.html
+++ b/wk9/lect/hello/templates/greet.html
@@ -1,11 +1,7 @@
-<!DOCTYPE html>
+{% extends "layout.html" %}
-<html lang="en">
- <head>
- <meta name="viewport" content="initial-scale=1, width=device-width">
- <title>hello</title>
- </head>
- <body>
- hello, {{ name }}
- </body>
-</html>
+{% block body}
+
+ hello, {{ name }}
+
+{% endblock %}