From f5eb0fe61281c47dd828da3f005285f41fdb90d2 Mon Sep 17 00:00:00 2001 From: Flavio Copes Date: Thu, 20 Jul 2017 17:50:54 +0200 Subject: [PATCH 1/2] Ignore missing twig files --- themes/grav/templates/pages.html.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/grav/templates/pages.html.twig b/themes/grav/templates/pages.html.twig index 88a2f693c..07270465b 100644 --- a/themes/grav/templates/pages.html.twig +++ b/themes/grav/templates/pages.html.twig @@ -364,7 +364,7 @@ {% include 'partials/page-move.html.twig' with { blueprints: admin.blueprints('admin/pages/move'), data: context } %}
- {% include ['partials/page-revisions.html.twig', 'empty.html.twig'] with { data: context } %} + {% include ['partials/page-revisions.html.twig', 'empty.html.twig'] with { data: context } ignore missing %}
{% endif %} From 2f83d3d350e66f342fd7d667f7d9c12592fefb2b Mon Sep 17 00:00:00 2001 From: Flavio Copes Date: Thu, 20 Jul 2017 17:53:09 +0200 Subject: [PATCH 2/2] Fix order --- themes/grav/templates/pages.html.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/grav/templates/pages.html.twig b/themes/grav/templates/pages.html.twig index 07270465b..36455edc8 100644 --- a/themes/grav/templates/pages.html.twig +++ b/themes/grav/templates/pages.html.twig @@ -364,7 +364,7 @@ {% include 'partials/page-move.html.twig' with { blueprints: admin.blueprints('admin/pages/move'), data: context } %}
- {% include ['partials/page-revisions.html.twig', 'empty.html.twig'] with { data: context } ignore missing %} + {% include ['partials/page-revisions.html.twig', 'empty.html.twig'] ignore missing with { data: context } %}
{% endif %}