diff --git a/CHANGELOG.md b/CHANGELOG.md index 913f7e9f..da183e2e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +# v1.10.33.1 +## 04/25/2022 + +1. [](#bugfix) + * Reverted [PR#2265](https://github.com/getgrav/grav-plugin-admin/pull/2265) as it broke sections output. + # v1.10.33 ## 04/25/2022 diff --git a/blueprints.yaml b/blueprints.yaml index 273393f6..4c7caa81 100644 --- a/blueprints.yaml +++ b/blueprints.yaml @@ -1,7 +1,7 @@ name: Admin Panel slug: admin type: plugin -version: 1.10.33 +version: 1.10.33.1 description: Adds an advanced administration panel to manage your site icon: empire author: diff --git a/themes/grav/templates/forms/fields/section/section.html.twig b/themes/grav/templates/forms/fields/section/section.html.twig index 5cb0b88e..be38f824 100644 --- a/themes/grav/templates/forms/fields/section/section.html.twig +++ b/themes/grav/templates/forms/fields/section/section.html.twig @@ -3,18 +3,17 @@ {% block field %} {% if field.security is empty or authorize(array(field.security)) %} + {% if field.title or field.underline %} +
{{ field.text|t|markdown|raw }}
+ {% endif %} + {% embed 'forms/default/fields.html.twig' with {name: field.name, fields: field.fields} %} {% block outer_markup_field_open %}