The same way you have a content section in your <body>, create a head section inside the <head> tag
In your layout:
<head>
<title>Page title</title>
@yield('head')
</head>
In your views:
@section('head')
<meta name="keywords" content="...">
<meta name="description" content="...">
@stop
More tips in code bright
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community