From 3336ed047bd1ecc14d8020bdb1e9b062c18fdd4f Mon Sep 17 00:00:00 2001 From: Joe Groocock Date: Fri, 31 Mar 2017 21:50:20 +0100 Subject: [PATCH] Add template to buy page --- templates/buy.html | 16 ++++++++-------- templates/index.html | 5 ----- templates/layout.html | 4 ++++ 3 files changed, 12 insertions(+), 13 deletions(-) diff --git a/templates/buy.html b/templates/buy.html index 58e2a46..4509fe9 100644 --- a/templates/buy.html +++ b/templates/buy.html @@ -1,8 +1,8 @@ - - -
- Username: - -
- - +{% extends "layout.html" %} + +{% block body %} +
+ Username: + +
+{% endblock %} diff --git a/templates/index.html b/templates/index.html index 1b3e3c3..fc62370 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1,9 +1,4 @@ {% extends "layout.html" %} -{% block head %} - -{% endblock %} {% block body %}
diff --git a/templates/layout.html b/templates/layout.html index 373e9a1..bd313a4 100644 --- a/templates/layout.html +++ b/templates/layout.html @@ -12,6 +12,10 @@ + + {% block head %}{% endblock %}