Move Bootstrap classes from templates into styles
Issue #5
new
Bootstrap classes in templates should be replaced by purely semantic markup and Bootstrap classes should be merged into the resulting semantic classes using Sass, so that templates are smaller, more readable and maintainable.
Motivation
Bootstrap classes in templates
- make the template code less readable, less maintainable (and ugly after all)
- make the theme severly dependent on a specific framework (and more difficult to switch to a different frontend framework)
- violate the separation of concerns principle (semantics in templates, design in styles)
See Also
- commit c73f7b0
- discussion in django-allauth #678
- Please stop embedding Bootstrap classes in your HTML!, blog post
Comments (1)
-
reporter - Log in to comment
Tracked in Mingle card #23.