bootstrap_five_layouts-1.0.x-dev/templates/5.0.0/bs-5col.html.twig
templates/5.0.0/bs-5col.html.twig
{#
/**
* @file
* Bootstrap Five Layouts: 5 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 first.content %}
<{{ first.wrapper }}{{ first.attributes }}>
{{ first.content }}
</{{ first.wrapper }}>
{% endif %}
{% if second.content %}
<{{ second.wrapper }}{{ second.attributes }}>
{{ second.content }}
</{{ second.wrapper }}>
{% endif %}
{% if third.content %}
<{{ third.wrapper }}{{ third.attributes }}>
{{ third.content }}
</{{ third.wrapper }}>
{% endif %}
{% if fourth.content %}
<{{ fourth.wrapper }}{{ fourth.attributes }}>
{{ fourth.content }}
</{{ fourth.wrapper }}>
{% endif %}
{% if fifth.content %}
<{{ fifth.wrapper }}{{ fifth.attributes }}>
{{ fifth.content }}
</{{ fifth.wrapper }}>
{% endif %}
</{{ wrapper }}>
</div>
{% if decor is not empty %}
</div>
{% endif %}
