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
I don't think you can, but you have options, like using a view composer to always provide a $title to your views:
View::composer('*', function($view) { $title = Config::get('app.title'); $view->with('title', $title ? " - $title" : ''); });