16 lines
667 B
PHP
16 lines
667 B
PHP
@if (count($breadcrumbs) && request()->route()->getName() !== 'front.homepage')
|
|
<div class="breadcrumbs fw">
|
|
<div class="breadcrumbs__wrapper wrapper">
|
|
@foreach ($breadcrumbs as $breadcrumb)
|
|
@if ($breadcrumb->url && !$loop->last)
|
|
<a href="{{ $breadcrumb->url }}" class="home">{{ $breadcrumb->title }}</a>
|
|
@if (count($breadcrumbs) > 1)
|
|
>
|
|
@endif
|
|
@else
|
|
<span class="post post-page current-item">{{ $breadcrumb->title }}</span>
|
|
@endif
|
|
@endforeach
|
|
</div>
|
|
</div>
|
|
@endif
|