16 lines
675 B
PHP
16 lines
675 B
PHP
@if ($breadcrumbs->isNotEmpty() && request()->path() !== "/")
|
|
<div class="breadcrumbs breadcrumbs_base_margined 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
|