patternlibrary/agaric/templates/layout/ds-2col.html.twig

29 lines
820 B
Twig

{#
/**
* @file
* Override Display Suite 2 column template to get rid of DS classes.
*
* Available variables:
* - outer_wrapper: outer wrapper element
* - left_wrapper: wrapper element around left region
* - right_wrapper: wrapper element around right region
* - attributes: layout attributes
* - left_attributes: attributes for left region
* - right_attributes: attributes for right region
* - left: content of left region
* - right: content of right region
*/
#}
<{{ outer_wrapper }}{{ attributes.addClass('columns', 'clearfix') }}>
{{ title_suffix.contextual_links }}
<{{ left_wrapper }}{{ left_attributes.addClass('column') }}>
{{ left }}
</{{ left_wrapper }}>
<{{ right_wrapper }}{{ right_attributes.addClass('column') }}>
{{ right }}
</{{ right_wrapper }}>
</{{ outer_wrapper }}>