-
Notifications
You must be signed in to change notification settings - Fork 153
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove some <div>s from our templates #2230
Labels
Comments
@Pomax, where would be a good place to start on this? |
I'd recommend starting with an inventory pass of the .html templates we have in the wagtailpages/templates directory. For instance, the homepage has this:
that's four nested "top level" divs that don't all need to exist, some of these can be de-nested with their classes merged. |
Hi @Pomax , I am new to open source ,can I take this issue |
This was referenced Jun 3, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Bootstrap has made things divceptionalicious, so it's probably worth removing as many undecorated (e.g. class-less) divs from our fragments and adjusting the SCSS accordingly.
The text was updated successfully, but these errors were encountered: