I'm sure @yield and @section , where it is not intended to be used as a variable, but rather to replace parts of the content according to the needs of each derived page.
To accomplish this, you must either pass a parameter to your view blade from controller , as:
<meta name="description" content="{{ $page_description }}">
or consider replacing all meta tag (s) for this page, i.e.:
layout.blade.php
<meta name="title" content="This is my page title for all pages"> @yield("additional_meta_tags")
contact.blade.php (or other pages)
@section("additional_meta_tags") <meta name="description" content="this is the contact page"> @stop
source share