title: Ternary operator in HTML tag - Laravel 5.6 Blade template
body: <p>I have the below HTML tag where the value of "style" for nav tag should be loaded using ternary operator. I don't have any error but the desired result is not achieved</p>
  
  <pre><code>&lt;nav class="navbar navbar-expand-md navbar-light navbar-laravel" 
  style="{{ Request::path() }} == 'home' ? 'background-color: darkgrey' : '' "&gt;
  </code></pre>
  
  <p>Can anyone help me where I am going wrong</p>