From 91a05d212add494e04dbe77960697015d8998c30 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Tue, 5 Jun 2018 07:17:02 +0100 Subject: [PATCH] Extract navbar into a partial --- source/_layouts/default.html.twig | 64 +------------------------------ source/_partials/navbar.html.twig | 63 ++++++++++++++++++++++++++++++ 2 files changed, 64 insertions(+), 63 deletions(-) create mode 100644 source/_partials/navbar.html.twig diff --git a/source/_layouts/default.html.twig b/source/_layouts/default.html.twig index c6bade17..19c26053 100644 --- a/source/_layouts/default.html.twig +++ b/source/_layouts/default.html.twig @@ -31,69 +31,7 @@ {% endfor %} - + {% include 'navbar.html.twig' %}
diff --git a/source/_partials/navbar.html.twig b/source/_partials/navbar.html.twig new file mode 100644 index 00000000..32889476 --- /dev/null +++ b/source/_partials/navbar.html.twig @@ -0,0 +1,63 @@ +