sauravs012
4 months ago
953
11
General

How can i pass variable with section in main layout file?

Posted 4 months ago by sauravs012

Got this error while using @section('metatitle', {{$meta->title}) in index.blade.php

ErrorException (E_ERROR)
syntax error, unexpected '<' (View: index.blade.php)
Previous exceptions
syntax error, unexpected '<' (0)

Please sign in or create an account to participate in this conversation.