XF 2.2 Problem with Google Rich Tester (Breadcrumbs)

Salamanca

Active member
Hi,

The Google Rich tester tool reports an error for Breadcumbs.

Screenshot 2021-03-14 at 23.00.51.webp

Screenshot 2021-03-14 at 23.01.04.webp

The code the we found on PAGE_CONTAINER is this following:
Code:
<xf:macro name="crumb" arg-href="!" arg-value="!" arg-position="{{ 0 }}">
    <li itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
        <a href="{$href}" itemprop="item">
            <span itemprop="name">{$value}</span>
        </a>
        <xf:if is="$position"><meta itemprop="position" content="{$position}" /></xf:if>
    </li>
</xf:macro>

Is the code correct?
This is a pretty fresh 2.2 installation.

Thanks
Alex
 
Top Bottom