diff --git a/admin.yaml b/admin.yaml index 631f2d8d..5cda9223 100644 --- a/admin.yaml +++ b/admin.yaml @@ -2,6 +2,10 @@ enabled: true route: '/admin' theme: grav logo_text: '' +body_classes: '' +sidebar: + activate: hover + size: small dashboard: days_of_stats: 7 session: diff --git a/blueprints.yaml b/blueprints.yaml index e995330d..447cba61 100644 --- a/blueprints.yaml +++ b/blueprints.yaml @@ -52,6 +52,32 @@ form: placeholder: "Grav" help: Text to display in place of the default Grav logo + body_classes: + type: text + label: Body classes + size: medium + help: add a space seperated name of custom body classes + + sidebar.activate: + type: select + label: Sidebar Activation + help: Control how the sidebar is activated + size: small + default: tab + options: + tab: Tab + hover: Hover + + sidebar.size: + type: select + label: Sidebar Size + help: Control the width of the sidebar + size: medium + default: auto + options: + auto: Automatically width + small: Small width + theme: type: hidden label: Theme diff --git a/themes/grav/templates/partials/base.html.twig b/themes/grav/templates/partials/base.html.twig index 9c7aafa4..ffde4a4f 100644 --- a/themes/grav/templates/partials/base.html.twig +++ b/themes/grav/templates/partials/base.html.twig @@ -30,7 +30,7 @@ {% endblock %} {% block body %} -
+ {% block page %}