@include('components.frontend.sites.' . $page->template)
{{--
@if($showBody())
@endif
@if($showBreadCrumb())
@endif
@if($showContent())
@endif
@if($showSearch())
@endif
@if ($isCustomizeMode())
@endif
@if($isCustomizeMode() && !$getTemplateId())
No available template is found.
@endif
@switch(division($page->template))
@case(\App\Models\TemplateMenuItem::DIVISION_DOCUMENT)
@if($links)
@endif
@foreach ($menuItems as $item)
@endforeach
@break
@case(\App\Models\TemplateMenuItem::DIVISION_GLOSSARY)
@foreach ($menuItems as $item)
@endforeach
@break
@case(\App\Models\TemplateMenuItem::DIVISION_UPDATE)
@case(\App\Models\TemplateMenuItem::DIVISION_FAQ)
@break
@default
@break
@endswitch
@if(!$menuItems->count())
No {{ $page->template }} item is found
@endif
@if($showFooter())
@endif
@if($isCustomizeMode())
@endif
--}}
@push('css')
@endpush
@push('js')
@if ($isCustomizeMode())
{{--
--}}
@include('vendor.lara-izitoast.toast')
@endif
@endpush