-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Breaking change: update Bootstrap 4 template to spec. Resolves #17
- Loading branch information
1 parent
148e552
commit 4a9edc6
Showing
1 changed file
with
11 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |