diff --git a/templates/default.html.twig b/templates/default.html.twig index 60e8fa0..61b7e6d 100755 --- a/templates/default.html.twig +++ b/templates/default.html.twig @@ -5,10 +5,6 @@ {% set title = page.title|raw %} {% set subtitle = page.header.subtitle|raw %} -{% block body_classes %} - {{ body_classes|default('single') }} -{% endblock %} - {% block menu %} {% include 'partials/sidebar_right.html.twig' %} {% endblock %} @@ -45,5 +41,5 @@ {% endblock %} {% block sidebar %} - {% include 'partials/sidebar_left.html.twig' %} + {% include 'partials/sidebar_left.html.twig' %} {% endblock %} diff --git a/templates/partials/base.html.twig b/templates/partials/base.html.twig index e959fa1..61cdc6a 100644 --- a/templates/partials/base.html.twig +++ b/templates/partials/base.html.twig @@ -1,5 +1,4 @@ {% set theme_config = attribute(config.themes, config.system.pages.theme) %} -{% set body_classes = body_class(['single']) %} {# Here, you can define aditional css classes for body, separated with comas #} {% set compress = theme_var('production-mode') ? '.min.css' : '.css' %} {% set favicon = theme_config.favicon ? theme_config.favicon|first : { type:'image/png', path: url('theme://images/favicon.png') } %} {% set new_base_url = base_url_absolute ~ theme_config.blog_page %} @@ -39,7 +38,7 @@ {% endblock %} -
+