title: Ternary in Laravel Blade
body: <p>Looking for a ternary operator for blade templates</p>
  
  <pre><code>@if(Auth::check()) ? yes : no @endif
  </code></pre>
  
  <p>Can't seem to get it to work this works</p>
  
  <pre><code>@if(Auth::check()) yes @else no @endif
  </code></pre>
  
  <p>suppose there is not much in it for this example, just curious.</p>