{% set product_list_title = '車検一覧' %}
{% set itemprop_position = 0 %}
{% if Page.url != 'homepage' %}
<div class="breadcrumb">
<div class="breadcrumb-inner">
<ul itemscope itemtype="https://schema.org/BreadcrumbList">
<li itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
{% set itemprop_position = itemprop_position + 1 %}
<meta itemprop="position" content="{{ itemprop_position}}" />
<a itemprop="item" href="{{ url('homepage') }}">
<span itemprop="name">ホーム</span>
</a>
</li>
{% if
(Page.url == 'product_list' and (search_form.vars.value.category_id or search_form.vars.value.name))
or Page.url == 'product_detail'
%}
<li itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
{% set itemprop_position = itemprop_position + 1 %}
<meta itemprop="position" content="{{ itemprop_position}}" />
<a itemprop="item" href="{{ url('homepage') }}products/list">
<span itemprop="name">{{ product_list_title }}</span>
</a>
</li>
{% if Page.url == 'product_list' and Category is not null %}
{% for Path in Category.path %}
{% if loop.last == false %}
<li itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
{% set itemprop_position = itemprop_position + 1 %}
<meta itemprop="position" content="{{ itemprop_position}}" />
<a itemprop="item" href="{{ url('product_list') }}?category_id={{ Path.id }}">
<span itemprop="name">{{ Path.name }}</span>
</a>
</li>
{% endif %}
{% endfor %}
{% endif %}
{% elseif 'shopping' in Page.url %}
<li itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
{% set itemprop_position = itemprop_position + 1 %}
<meta itemprop="position" content="{{ itemprop_position}}" />
<a itemprop="item" href="{{ url('homepage') }}cart">
<span itemprop="name">現在のカゴの中</span>
</a>
</li>
{% elseif 'mypage' in Page.url %}
<li itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
{% set itemprop_position = itemprop_position + 1 %}
<meta itemprop="position" content="{{ itemprop_position}}" />
<a itemprop="item" href="{{ url('homepage') }}mypage/">
<span itemprop="name">MYページ</span>
</a>
</li>
{% endif %}
<li itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
{% set itemprop_position = itemprop_position + 1 %}
<meta itemprop="position" content="{{ itemprop_position}}" />
<span itemprop="name">
{% if Page.url == 'product_list' and search_form.vars.value and search_form.vars.value.name %}
{{ '「%name%」の検索結果'|trans({ '%name%': search_form.vars.value.name }) }}
{% elseif Page.url == 'product_list' and Category is null %}
{{ product_list_title }}
{% elseif Synplgblog is defined and Page.url == 'post_list' %}
{{ Synplgblog.name }}
{% elseif subtitle is defined and subtitle is not empty %}
{{ subtitle }}
{% elseif title is defined and title is not empty %}
{{ title }}
{% endif %}
</span>
</li>
</ul>
</div>
</div>
{% endif %}