diff options
Diffstat (limited to 'wk9/lect/hello/templates/index.html')
-rw-r--r-- | wk9/lect/hello/templates/index.html | 14 |
1 files changed, 5 insertions, 9 deletions
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 @@ -<!DOCTYPE html> +{% extends "layout.html" %} + +{% block body} -<html lang="en"> - <head> - <meta name="viewport" content="initial-scale=1, width=device-width"> - <title>hello</title> - </head> - <body> <form action="/greet" method="get"> <input autocomplete="off" autofocus name="name" placeholder="Name" type="text"> <button type="submit">Greet</button> </from> - </body> -</html> + +{% endblock %} |