@php
$breadcrumb = bootstrap()->getBreadcrumb();
if (theme()->getOption('layout', 'page-title/direction') == 'column') {
$baseClass = 'flex-column align-items-start me-3';
} else {
$baseClass = 'me-3';
}
$attr = array();
if (theme()->getOption('layout', 'page-title/responsive') === true) {
$baseClass .= " flex-wrap mb-5 mb-lg-0 lh-1";
}
@endphp
printHtmlAttributes("page-title") }} class="page-title d-flex flex-column {{ $baseClass }}">
{{ theme()->getOption('page', 'title') }}
@if (!empty(theme()->hasOption('page', 'description')) && theme()->getOption('layout', 'page-title/description') !== false)
{{ theme()->getOption('page', 'description') }}
@endif
@if ( theme()->getOption('layout', 'page-title/breadcrumb') === true && !empty($breadcrumb))
@if (theme()->getOption('layout', 'page-title/direction') === 'row')
@endif
@foreach ($breadcrumb as $item)
@if ( $item['active'] === true )
-
{{ $item['title'] }}
@else
-
@if ( ! empty($item['path']) )
{{ $item['title'] }}
@else
{{ $item['title'] }}
@endif
@endif
@if (next($breadcrumb))
-
@endif
@endforeach
@endif