@php $blocks = page()->getBlocks(); $stackContent = trim($__env->yieldPushContent('content')); $isHomePage = request()->getBaseUrl() === '/' || empty(request()->getBaseUrl()); $hasBlocks = !empty($blocks); if(sizeof($blocks) === 1) { if($blocks[0]->widget === 'Content') { $hasBlocks = false; } } @endphp @if (!$hasBlocks && empty($stackContent))
{{ __('widgets.no_widgets_description') }} @if ($isHomePage) {{ __('widgets.no_widgets_description_home') }} @endif
@if ($isHomePage)