Skip to content

Commit

Permalink
Breaking change: update Bootstrap 4 template to spec. Resolves #17
Browse files Browse the repository at this point in the history
  • Loading branch information
shengslogar committed May 23, 2021
1 parent 148e552 commit 4a9edc6
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions resources/views/bootstrap4.blade.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
@unless ($breadcrumbs->isEmpty())
<ol class="breadcrumb">
@foreach ($breadcrumbs as $breadcrumb)
<nav aria-label="breadcrumb">
<ol class="breadcrumb">
@foreach ($breadcrumbs as $breadcrumb)

@if ($breadcrumb->url && !$loop->last)
<li class="breadcrumb-item"><a href="{{ $breadcrumb->url }}">{{ $breadcrumb->title }}</a></li>
@else
<li class="breadcrumb-item active">{{ $breadcrumb->title }}</li>
@endif
@if ($breadcrumb->url && !$loop->last)
<li class="breadcrumb-item"><a href="{{ $breadcrumb->url }}">{{ $breadcrumb->title }}</a></li>
@else
<li class="breadcrumb-item active">{{ $breadcrumb->title }}</li>
@endif

@endforeach
</ol>
@endforeach
</ol>
</nav>
@endunless

0 comments on commit 4a9edc6

Please sign in to comment.