feature/breadcrumbs-as-categories #13

Merged
krzysiej merged 2 commits from feature/breadcrumbs-as-categories into master 2024-11-28 11:55:25 +01:00
2 changed files with 7 additions and 6 deletions
Showing only changes of commit d9740a86d0 - Show all commits

View File

@@ -11,11 +11,13 @@
<span class="badge text-bg-light">{{ product.subTitle }}</span>
</td>
<td>
<ul class='nav'>
{% for category in product.categories %}
<li class="nav-item"><a class="nav-link" href="{{ path('app_category', {'category': category}) }}"> {{ category }} </a></li>
{% endfor %}
</ul>
<nav aria-label="breadcrumb" style="--bs-breadcrumb-divider: '>';" >
<ol class="breadcrumb">
{% for category in product.categories %}
<li class="breadcrumb-item" aria-current="page"><a class="breadcrumb-item text-decoration-none" href="{{ path('app_category', {'category': category}) }}">{{ category }}</a></li></li>
{% endfor %}
</ol>
</nav>
</td>
<td><a href='https://pl.ryobitools.eu/{{ product.url }}'>link</a></td>
</tr>

View File

@@ -28,7 +28,6 @@
<span class="badge text-bg-light">{{ product.subTitle }}</span>
</td>
<td class="align-middle">
<nav aria-label="breadcrumb" style="--bs-breadcrumb-divider: '>';" >
<ol class="breadcrumb">
{% for category in product.categories %}