Laravel - Views and Blade Templates
You want to create a layout with a default footer but allow child views to override it. Which Blade directives should you use in the layout?
@section('footer') ... @show in a layout sets default content and allows child views to replace it.@yield does not provide default content, @extends is for layouts, and @include inserts partials but doesn't allow override.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions