From ba0fb0f5f75d26d040f68fe22728e8badb76d35f Mon Sep 17 00:00:00 2001 From: Gert Date: Mon, 27 Apr 2015 17:54:28 +0200 Subject: [PATCH] switch around normal and expert mode --- themes/grav/templates/pages.html.twig | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/themes/grav/templates/pages.html.twig b/themes/grav/templates/pages.html.twig index a4ced819..edd7007b 100644 --- a/themes/grav/templates/pages.html.twig +++ b/themes/grav/templates/pages.html.twig @@ -122,10 +122,9 @@ {% endif %} {% if admin.session.expert == '0' %} - {% include 'partials/blueprints-raw.html.twig' with { blueprints: admin.blueprints('pages/'~modular~'raw'), data: context } %} - + {% include 'partials/blueprints.html.twig' with { blueprints: context.blueprints, data: context } %} {% else %} - {% include 'partials/blueprints.html.twig' with { blueprints: context.blueprints, data: context } %} + {% include 'partials/blueprints-raw.html.twig' with { blueprints: admin.blueprints('pages/'~modular~'raw'), data: context } %} {% endif %} {% else %}