Answers for "laravel blade check if yielded content exists"

PHP
0

laravel blade check if yielded content exists

<title>
    @if(View::hasSection('title'))
        @yield('title')
    @else
        Static Website Title Here
    @endif
</title>
Posted by: Guest on August-24-2020

Code answers related to "laravel blade check if yielded content exists"

Browse Popular Code Answers by Language