diff --git a/themes/grav/templates/pages.html.twig b/themes/grav/templates/pages.html.twig index f7c9711f..ce8fde5f 100644 --- a/themes/grav/templates/pages.html.twig +++ b/themes/grav/templates/pages.html.twig @@ -15,6 +15,8 @@ {% set mode = 'list' %} {% endif %} +{% set modular = context.modular ? 'modular_' : '' %} + {% set warn = config.plugins.admin.warnings.delete_page %} {% block stylesheets %} @@ -120,7 +122,7 @@ {% endif %} {% if admin.session.expert == '1' %} - {% include 'partials/blueprints-raw.html.twig' with { blueprints: admin.blueprints('pages/raw'), data: context } %} + {% include 'partials/blueprints-raw.html.twig' with { blueprints: admin.blueprints('pages/'~modular~'raw'), data: context } %} {% else %} {% include 'partials/blueprints.html.twig' with { blueprints: context.blueprints, data: context } %}