Is it possible to check into a blade view if @yield have content or not?
I am trying to assign the page titles in the views:
@section(\"title\", \"hi wor
There is probably a prettier way to do this. But this does the trick.
@if (trim($__env->yieldContent('title'))) @yield('title') @endif