mardi 9 mai 2017

how to check if laravel @yield is isset?

I'm new in Laravel and I need to check if @yield('title') is set.

I know about the second parameter. But I need something like this:

  1. Homepage = Name Web Site
  2. Page = Page - Name Web Site
  3. TV Show = Name of show - TV Show - Name Web Site
  4. etc...

How can I do this?

Aucun commentaire:

Enregistrer un commentaire