@php
$breadcrumb = bootstrap()->getBreadcrumb();
if (theme()->getOption('layout', 'page-title/direction') == 'column') {
$baseClass = 'flex-column align-items-start me-3';
} else {
$baseClass = 'align-items-center me-3';
}
$attr = array();
if (theme()->getOption('layout', 'toolbar/fixed/desktop') === true && theme()->getOption('layout', 'toolbar/fixed/tablet-and-mobile') === true && theme()->getOption('layout', 'page-title/responsive') === true) {
$baseClass .= " flex-wrap mb-5 mb-lg-0 lh-1";
}
@endphp
printHtmlAttributes("page-title") }} class="d-flex {{ $baseClass }}">
{{ theme()->getOption('page', 'title') }}
@if (theme()->hasOption('page', 'description') && theme()->getOption('layout', 'page-title/description') === true)
{{ 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