From 0ca58316c0e2527b2c0b58a70c3ceb102cd7201c Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Wed, 17 Feb 2021 21:37:16 +0000 Subject: [PATCH] Task 3 - Add navbar markup --- templates/includes/navbar.html.twig | 18 ++++++++++++++++++ templates/page.html.twig | 2 ++ 2 files changed, 20 insertions(+) create mode 100644 templates/includes/navbar.html.twig diff --git a/templates/includes/navbar.html.twig b/templates/includes/navbar.html.twig new file mode 100644 index 0000000..40432e2 --- /dev/null +++ b/templates/includes/navbar.html.twig @@ -0,0 +1,18 @@ +
+
+
+ + + +
+
+ +
+
+
diff --git a/templates/page.html.twig b/templates/page.html.twig index 2429030..370270d 100644 --- a/templates/page.html.twig +++ b/templates/page.html.twig @@ -1,5 +1,7 @@ {% extends 'html.html.twig' %} {% block body %} + {% include 'includes/navbar.html.twig' %} + {% block content %}{% endblock %} {% endblock %}