title: Laravel 5 how to display blade content on guest/authenticated user?
body: <p>I can read from the documentation that I can write the following in order to understand if the user is authenticated :</p>
  
  <pre><code>if (Auth::check())
  {
   // The user is logged in...
  }
  </code></pre>
  
  <p>Until there everything is working for me (authentication)</p>
  
  <p>What I still miss is how should I manage the authentication with blade.
  In order, for example to display a different menu, if the user Is or isn't authenticated.</p>
  
  <p>But I wouldn't duplicate all my blade templates to obtain the above.
  I would like to understand how to place conditions(where controller or view?) in order to display (yeld) different content based on current auth status</p>
  
  <p>e.g. the pseudo code I have in mind for my app.blade.php file:</p>
  
  <pre><code>....
  &lt;body &gt;
       @if (Auth::check())
       {
       @include('menu')
       @yield('content')
       }@else{
       @include('menu.guest')
       }
  &lt;/body&gt;
  </code></pre>
  
  <p>is this the good way?</p>
  
  <p>Thanks</p>