remove wrapper markup & classes from default region.html.twig

Created on 27 March 2014, about 10 years ago
Updated 21 February 2023, over 1 year ago

Problem/Motivation

Region.html.twig is adding yet another layer of templates, div & classes to Drupal, thats only usable in very specific cases.

Proposed resolution

Remove the default wrapper div & classes from region.html.twig, so its still usable for a theme that need that kind of flexibility.

region.html.twig

{% if content %}
    {{ content }}
{% endif %}

Remaining tasks

test bartik
test seven
write test
wrap markup classes out into the template

User interface changes

API changes

✨ Feature request
Status

Postponed

Version

1.0

Component

Code

Created by

🇩🇰Denmark mortendk

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024