<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers"
      data-namespace-typo3-fluid="true">

<f:if condition="{breadcrumbnavigation -> f:count()}">
  <div class="breadcrumb">
    <ul>
      <f:for each="{breadcrumbnavigation}" as="item" iteration="iterator">
        <li>
          <a href="{item.link}">
            <f:if condition="{iterator.isFirst}">
              <f:then>
                <img src="{f:uri.resource(path: 'Icons/home.svg', extensionName: 'bagger_site_package')}"
                     alt="{item.title}"/>
              </f:then>
              <f:else>
                {item.title}
              </f:else>
            </f:if>
          </a>
        </li>
      </f:for>
    </ul>
  </div>
</f:if>

</html>
