I have two return varibles from controller to view in Laravel.
return view ('home', compact('books','count'));
Now I want to display one section('content') @if the conditon is true in my home.blade.php. How I can do this. Now section('content') will display @if condition is false
@if (!empty($books))
@section('content')
@endif