templates/offre-emploi/_includes/breadcrumb.html.twig line 1

Open in your IDE?
  1. {% set position = 1 %}
  2. <ul class="breadcrumb" itemscope itemtype="https://schema.org/BreadcrumbList">
  3.     {# ----- Rubrique ------------------------------------------------------- #}
  4.         <li itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
  5.             <a href="{{path('home_page')}}" itemscope itemtype="https://schema.org/Thing" itemprop="item" itemid=""><span itemprop="name">Accueil</span></a>
  6.             <meta itemprop="position" content="{{ position }}">
  7.             {% set position = position + 1 %}
  8.         </li>
  9.         <li class="separator"></li>
  10.         <li itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
  11.             <a href="{{path('offre-emploi-root')}}" itemscope itemtype="https://schema.org/Thing" itemprop="item" itemid=""><span itemprop="name">Offres d'emploi</span></a>
  12.             <meta itemprop="position" content="{{ position }}">
  13.             {% set position = position + 1 %}
  14.         </li>
  15.         <li class="separator"></li>
  16.     <li itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
  17.         {% if offre is defined %}
  18.         <span itemprop="name">{{ offre.profil }}</span>
  19.         {% else %}
  20.         <span itemprop="name">Liste des offres d'emploi</span>
  21.         {% endif %}
  22.         <meta itemprop="position" content="{{ position }}">
  23.         {% set position = position + 1 %}
  24.     </li>
  25. </ul>