I get the problem, when I try to set the title on blade.php
This is the code
@section('title')
{{ $name }}
@endsection
The result
Why is there a sign [" "]
? How to fix it?
CodePudding user response:
please check some typos around this code @yield('title')
or show us related blade files
CodePudding user response:
you can use @section('title', $name)