From abb40ef196946994300981cea6cd843e36340ce4 Mon Sep 17 00:00:00 2001 From: Luke Murphy Date: Sat, 4 Apr 2020 20:09:24 +0200 Subject: [PATCH] Setup layout inheritance hierarchy --- hbbs/templates/about.html | 5 +++++ hbbs/templates/{index.html => layout.html} | 9 +++++++-- 2 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 hbbs/templates/about.html rename hbbs/templates/{index.html => layout.html} (65%) diff --git a/hbbs/templates/about.html b/hbbs/templates/about.html new file mode 100644 index 0000000..f503649 --- /dev/null +++ b/hbbs/templates/about.html @@ -0,0 +1,5 @@ +{% extends "layout.html" %} + +{% block content %} +

TODO: home page

+{% endblock %} diff --git a/hbbs/templates/index.html b/hbbs/templates/layout.html similarity index 65% rename from hbbs/templates/index.html rename to hbbs/templates/layout.html index 2cf2309..b01cd7e 100644 --- a/hbbs/templates/index.html +++ b/hbbs/templates/layout.html @@ -3,7 +3,7 @@ - voicegardens.org: home + hbbs.decentral1.se -

Hello, World

+ +
+ {% block content %}{% endblock %} +