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

Created on 27 March 2014, over 10 years ago
Updated 21 February 2023, almost 2 years 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.71.5 2024