eleven-8.x-1.0-beta5/eleven/templates/layout-landing/contenttypes/table--structure-types.html.twig

eleven/templates/layout-landing/contenttypes/table--structure-types.html.twig
{{ attach_library('eleven/card') }}

{% if rows %}

{% include themepath ~ '/templates/component/navigation/cardlayout/cardlayout.html.twig' %}
<section class="cards js-card-layout-target" aria-label="{{ section_title }}">

  {% for row in rows %}
    <article {{ row.attributes.addClass('card').setAttribute('aria-label', row.cells.title.content) }}>

      <h3 class="card__title card__title--icon card__title--icon-admin-structure-types">
        {{ row.cells.title.content}}
      </h3>
      <p class="card__text">
        {# we need to do a |raw here as the data is already escaped #}
        {{ row.cells.description.content['#markup']|raw }}
      </p>


      <div class="card__operations L-center">
        {{ row.cells.operations.content }}
      </div>

    </article>
  {% endfor %}
</section>
{% endif %}

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc