@foreach ($album->albumParentTree() as $parentAlbum)
    @if ($parentAlbum->id == $album->id)
        <li class="breadcrumb-item active">{{ $album->name }}</li>
    @else
        <li class="breadcrumb-item"><a href="{{ $parentAlbum->url() }}">{{ $parentAlbum->name }}</a></li>
    @endif
@endforeach