easy_news-8.x-2.3/templates/components/breadcrumb.html.twig

templates/components/breadcrumb.html.twig
{#
/**
 * @file
 * Theme override for a breadcrumb trail.
 *
 * Available variables:
 * - breadcrumb: Breadcrumb trail items.
 */
#}
{% if breadcrumb %}
  <nav role="navigation" aria-labelledby="system-breadcrumb">
    <h2 class="uk-hidden">{{ 'Breadcrumb'|t }}</h2>
    <ul class="uk-breadcrumb">
    {% for item in breadcrumb %}
     <li{{ attributes.addClass(is_active ? 'uk-active') }}>
        {% if item.url %}
          <a href="{{ item.url }}">{{ item.text }}</a>
        {% else %}
          {{ item.text }}
        {% endif %}
      </li>
    {% endfor %}
    </ul>
  </nav>
{% endif %}

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

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