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
Building on Collin Jame's answer, if it is not obvious, I would recommend something like this:
{{ Config::get('site.title') }} @if (trim($__env->yieldContent('title'))) - @yield('title') @endif