11 lines
457 B
PHP
11 lines
457 B
PHP
|
|
@hasSection('breadcrumb')
|
||
|
|
@if (Breadcrumbs::exists(app()->view->getSections()['breadcrumb']))
|
||
|
|
{{ call_user_func_array(
|
||
|
|
'Breadcrumbs::view',
|
||
|
|
array_merge(['breadcrumbs::json-ld', app()->view->getSections()['breadcrumb']], Arr::wrap($brParam ?? [])),
|
||
|
|
) }}
|
||
|
|
@endif
|
||
|
|
@elseif(Breadcrumbs::exists(request()->route()->getName()))
|
||
|
|
{{ Breadcrumbs::view('breadcrumbs::json-ld',request()->route()->getName()) }}
|
||
|
|
@endif
|