From 4f1d0fddc07895c2a8848e6825d4b29898a4267b Mon Sep 17 00:00:00 2001 From: Fudgerboy <91767657+Fudgerboy@users.noreply.github.com> Date: Tue, 9 Jul 2024 09:03:28 +0000 Subject: Tue, Jul 9, 2024, 2:03 AM -07:00 --- wk9/lect/hello/templates/greet.html | 16 ++++++---------- wk9/lect/hello/templates/index.html | 14 +++++--------- 2 files changed, 11 insertions(+), 19 deletions(-) (limited to 'wk9/lect/hello') 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 @@ - +{% extends "layout.html" %} - - - - hello - - - hello, {{ name }} - - +{% block body} + + hello, {{ name }} + +{% endblock %} diff --git a/wk9/lect/hello/templates/index.html b/wk9/lect/hello/templates/index.html index 4ce1e85..0ada4ef 100644 --- a/wk9/lect/hello/templates/index.html +++ b/wk9/lect/hello/templates/index.html @@ -1,14 +1,10 @@ - +{% extends "layout.html" %} + +{% block body} - - - - hello - -
- - + +{% endblock %} -- cgit v1.2.3