diff --git a/templates/index.html b/templates/index.html index 01cfcd7..6d03436 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1 +1,8 @@ -
Hello, World!
\ No newline at end of file +{% extends "layout.html" %} +{% block head %} + {{ super() }} + {% block title %}Home{% endblock %} +{% endblock %} +{% block content %} +Hello, World!
+{% endblock %} diff --git a/templates/layout.html b/templates/layout.html new file mode 100644 index 0000000..aa0df22 --- /dev/null +++ b/templates/layout.html @@ -0,0 +1,18 @@ + + + + {% block head %} + + +