Sections are the only part of Locomotivecms that outputs code that is not provided and controlled by the developer.
Sections should be coded like blocks and use {{ section.locomotive_attributes }} in the wrapping element.
For backwards compatibility the presence of {{ section.locomotive_attributes }} in the section template can be used to determine if a wrapper needs to be added or not. This could also help avoid issues when developers forget to add it.
Sections are the only part of Locomotivecms that outputs code that is not provided and controlled by the developer. Sections should be coded like blocks and use
{{ section.locomotive_attributes }}
in the wrapping element. For backwards compatibility the presence of{{ section.locomotive_attributes }}
in the section template can be used to determine if a wrapper needs to be added or not. This could also help avoid issues when developers forget to add it.