{# /** * @file views-bootstrap-cards.html.twig * Default simple view template to display Bootstrap Cards. * * * - rows: Contains a nested array of rows. Each row contains an array of * columns. * * @ingroup views_templates */ #} {{ attach_library('views_bootstrap/cards') }}
{% for key, row in rows -%}
{# Show image #} {% if row.image %} {{ row.image }} {% endif %} {% if row.title %}
{{ row.title }}
{% endif %} {% if row.content %}
{{ row.content }}
{% endif %}
{%- endfor %}