How can I make my breadcrumb code eligible for rich results?

Hello!

I have the below code in my breadcrumb.liquid snippet. However, when running the code through on Google Search Console it says that the page is not eligible for rich results known by this test. Any advise on how to get the code eligible for rich results? Currently using the Minimal theme.

Thanks!

{% comment %}
Documentation - http://docs.shopify.com/support/your-website/navigation/creating-a-breadcrumb-navigation
{% endcomment %}
{% unless request.page_type == ‘index’ or request.page_type == ‘cart’ %}

{{ 'general.breadcrumbs.home' | t }}

{% if request.page_type == ‘product’ %}

{% if collection %}

{% if collection.handle %}
{%- if collection.url == blank -%}
{% assign url = routes.all_products_collection_url %}
{%- else -%}
{% assign url = collection.url %}
{%- endif -%}

{{ collection.title | link_to: url }}
{% endif %}
{% endif %}

{{ product.title }}

{% elsif request.page_type == ‘collection’ and collection.handle %}


{% if current_tags %}
{%- if collection.url == blank -%}
{% assign url = routes.all_products_collection_url %}
{%- else -%}
{% assign url = collection.url %}
{%- endif -%}

{{ collection.title | link_to: url }}

{{ current_tags | join: " + " }}
{% else %}
{{ collection.title }}
{% endif %}

{% elsif request.page_type == ‘blog’ %}


{% if current_tags %}
{{ blog.title | link_to: blog.url }}

{{ current_tags | join: " + " }}
{% else %}
{{ blog.title }}
{% endif %}

{% elsif request.page_type == ‘article’ %}


{{ blog.title | link_to: blog.url }}

{{ article.title }}

{% elsif request.page_type == ‘page’ %}


{{ page.title }}

{% else %}


{{ page_title }}

{% endif %}

{% endunless %}