From cdc4bcd93ac444c40bb470b63431fcd045bbbeeb Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Tue, 24 Jul 2018 21:45:21 +0100 Subject: [PATCH] Add navbar and footer --- templates/base.html | 4 ++++ templates/common/footer.html | 15 +++++++++++++++ templates/common/navbar.html | 21 +++++++++++++++++++++ 3 files changed, 40 insertions(+) create mode 100644 templates/common/footer.html create mode 100644 templates/common/navbar.html diff --git a/templates/base.html b/templates/base.html index d03d3eb..0bedb1a 100644 --- a/templates/base.html +++ b/templates/base.html @@ -17,8 +17,12 @@ {% wagtailuserbar %} + {% include 'common/navbar.html' with page=self %} + {% block content %}{% endblock %} + {% include 'common/footer.html' with page=self %} + diff --git a/templates/common/footer.html b/templates/common/footer.html new file mode 100644 index 0000000..89176da --- /dev/null +++ b/templates/common/footer.html @@ -0,0 +1,15 @@ + diff --git a/templates/common/navbar.html b/templates/common/navbar.html new file mode 100644 index 0000000..e63cc31 --- /dev/null +++ b/templates/common/navbar.html @@ -0,0 +1,21 @@ +