"Fossies" - the Fresh Open Source Software Archive

Member "drupal-8.9.10/core/themes/seven/templates/classy/navigation/breadcrumb.html.twig" (26 Nov 2020, 574 Bytes) of package /linux/www/drupal-8.9.10.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) HTML source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 {#
    2 /**
    3  * @file
    4  * Theme override for a breadcrumb trail.
    5  *
    6  * Available variables:
    7  * - breadcrumb: Breadcrumb trail items.
    8  */
    9 #}
   10 {% if breadcrumb %}
   11   <nav class="breadcrumb" role="navigation" aria-labelledby="system-breadcrumb">
   12     <h2 id="system-breadcrumb" class="visually-hidden">{{ 'Breadcrumb'|t }}</h2>
   13     <ol>
   14     {% for item in breadcrumb %}
   15       <li>
   16         {% if item.url %}
   17           <a href="{{ item.url }}">{{ item.text }}</a>
   18         {% else %}
   19           {{ item.text }}
   20         {% endif %}
   21       </li>
   22     {% endfor %}
   23     </ol>
   24   </nav>
   25 {% endif %}