forked from brooksbingham/theme-elegance
refactor: add seperator in the bread crub
parent
6684988922
commit
e2d1a51653
|
@ -23,7 +23,7 @@
|
|||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
<nav data-depth="{$breadcrumb.count}" class="breadcrumb hidden md:flex my-8 w-full">
|
||||
<ol itemscope itemtype="http://schema.org/BreadcrumbList" class="hidden md:flex w-full gap-4">
|
||||
<ol itemscope itemtype="http://schema.org/BreadcrumbList" class="hidden md:flex w-full ">
|
||||
{block name='breadcrumb'}
|
||||
{foreach from=$breadcrumb.links item=path name=breadcrumb}
|
||||
{block name='breadcrumb_item'}
|
||||
|
@ -31,6 +31,9 @@
|
|||
<a itemprop="item" href="{$path.url}">
|
||||
<span itemprop="name">{$path.title}</span>
|
||||
</a>
|
||||
<span class="mx-4">
|
||||
/
|
||||
</span>
|
||||
<meta itemprop="position" content="{$smarty.foreach.breadcrumb.iteration}">
|
||||
</li>
|
||||
{/block}
|
||||
|
|
Loading…
Reference in New Issue