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
Can you not do:
layout.blade.php
Sitename.com @section("title") Default @show
And in subtemplate.blade.php:
@extends("layout") @section("title") My new title @stop