bootstrap_five_layouts-1.0.x-dev/templates/5.0.0/bs-2col.html.twig
templates/5.0.0/bs-2col.html.twig
{#
/**
* @file
* Bootstrap Five Layouts: 2 Column Layout
*
* Available variables:
* - content: The content for this layout.
* - attributes: HTML attributes for the layout element.
* - region_attributes: HTML attributes for the region elements.
* - build_classes: String of classes for the outer container div (set in BootstrapFiveLayoutsBase).
* - row_classes: String of classes for the row div (set in BootstrapFiveLayoutsBase).
* - column_classes: Array of classes for each column div (set in BootstrapFiveLayoutsBase).
*
* @ingroup themeable
*/
#}
{% if decor is not empty %}
<div{{ decor.addClass('bsfl-decor-wrapper') }}>
{% endif %}
<div{{ container_attributes }}>
<{{ wrapper }}{{ attributes.addClass('row') }}>
{{ title_suffix.contextual_links }}
{% if left.content %}
<{{ left.wrapper }}{{ left.attributes }}>
{{ left.content }}
</{{ left.wrapper }}>
{% endif %}
{% if right.content %}
<{{ right.wrapper }}{{ right.attributes }}>
{{ right.content }}
</{{ right.wrapper }}>
{% endif %}
</{{ wrapper }}>
</div>
{% if decor is not empty %}
</div>
{% endif %}
