From 411e4b7e60fd1d123027637e588df35255bcf356 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Tue, 17 Mar 2015 04:07:58 +0000 Subject: [PATCH] Added header.html.twig --- source/themes/opdavies/opdavies/_layouts/default.html.twig | 2 +- source/themes/opdavies/opdavies/_partials/header.html.twig | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 source/themes/opdavies/opdavies/_partials/header.html.twig diff --git a/source/themes/opdavies/opdavies/_layouts/default.html.twig b/source/themes/opdavies/opdavies/_layouts/default.html.twig index 3b94a4c4..a3155319 100644 --- a/source/themes/opdavies/opdavies/_layouts/default.html.twig +++ b/source/themes/opdavies/opdavies/_layouts/default.html.twig @@ -7,7 +7,7 @@ {% if (page.url == '/') and (site.description) %}{{ site.description }}{% else %}{{ page.title }}{% endif %} | {{ site.title }} - {% include 'main-menu' %} + {% include 'header' %} {% block content_wrapper %} {% block content %}{% endblock %} {% endblock %} diff --git a/source/themes/opdavies/opdavies/_partials/header.html.twig b/source/themes/opdavies/opdavies/_partials/header.html.twig new file mode 100644 index 00000000..a1350de6 --- /dev/null +++ b/source/themes/opdavies/opdavies/_partials/header.html.twig @@ -0,0 +1,2 @@ +{{ site.title }} +{% include 'main-menu' %} \ No newline at end of file