From 5c7a9d4406b918ad842bb1beeb2a31f32e049a6d Mon Sep 17 00:00:00 2001 From: alex-ju Date: Tue, 12 Dec 2017 18:18:01 +0000 Subject: [PATCH] Include partials without specifying the entire path --- views/layouts/layout-pane.njk | 6 +++--- views/layouts/layout.njk | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/views/layouts/layout-pane.njk b/views/layouts/layout-pane.njk index 7c1e8eee09..5a0fb7ecf2 100644 --- a/views/layouts/layout-pane.njk +++ b/views/layouts/layout-pane.njk @@ -13,11 +13,11 @@ Skip to main content
- {% include "../partials/_header.njk" %} + {% include "_header.njk" %}
- {% include "../partials/_toc.njk" %} + {% include "_toc.njk" %}
@@ -29,7 +29,7 @@ {{ contents | safe }} {% endblock %}
- {% include "../partials/_footer.njk" %} + {% include "_footer.njk" %}
diff --git a/views/layouts/layout.njk b/views/layouts/layout.njk index 3a0623c8c9..3fb190974b 100644 --- a/views/layouts/layout.njk +++ b/views/layouts/layout.njk @@ -13,7 +13,7 @@ Skip to main content
- {% include "../partials/_header.njk" %} + {% include "_header.njk" %}
@@ -21,7 +21,7 @@ {{ contents | safe }} {% endblock %}
- {% include "../partials/_footer.njk" %} + {% include "_footer.njk" %}