wxt_bootstrap-8.x-1.10/templates/system/breadcrumb.html.twig

templates/system/breadcrumb.html.twig
{#
/**
 * @file
 * Default theme implementation for a breadcrumb trail.
 *
 * Available variables:
 * - breadcrumb: Breadcrumb trail items.
 *
 * @ingroup templates
 */
#}
{% set container = theme.settings.fluid_container ? 'container-fluid' : 'container' %}
{% if breadcrumb %}
  <nav id="wb-bc" property="breadcrumb">
    <h2>{{ 'You are here'|t }}</h2>
    <div class="{{ container }}">
      <ol class="breadcrumb">
        {% for item in breadcrumb %}
          <li {{ item.attributes }}>
            {% if item.url %}
              <a href="{{ item.url }}">{{ item.text }}</a>
            {% else %}
              {{ item.text }}
            {% endif %}
          </li>
        {% endfor %}
      </ol>
  </div>
</nav>
{% endif %}

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

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