Изменил(а) на 'Хлебные крошки'

yurec 2023-01-03 17:21:24 +05:00
parent 6ef8c26837
commit a35becace0
1 changed files with 3 additions and 1 deletions

@ -12,6 +12,7 @@ $smarty->assign('Breadcrumb', \core::getBreadcrumb( 'tovar_category', $page[0]['
Вывод в шаблон: Вывод в шаблон:
```
<nav aria-label="breadcrumb"> <nav aria-label="breadcrumb">
<ol class="breadcrumb"> <ol class="breadcrumb">
<li class="breadcrumb-item"><a href="/">Главная</a></li> <li class="breadcrumb-item"><a href="/">Главная</a></li>
@ -22,3 +23,4 @@ $smarty->assign('Breadcrumb', \core::getBreadcrumb( 'tovar_category', $page[0]['
<li class="breadcrumb-item active" aria-current="page">{$page[0].title|substr:70}</li> <li class="breadcrumb-item active" aria-current="page">{$page[0].title|substr:70}</li>
</ol> </ol>
</nav> </nav>
```