title: Conditionally displaying partial views based on active page
body: <p>I'm trying to get familiar with ASP.net MVC5 and am porting over an existing website.</p>
  
  <p>I have defined a default shared layout view that contains several partials for things like the header, navigation, footer, etc...</p>
  
  <p>The only difference between my home page, and other pages using this layout is the homepage has a slider and a few other unique features. Other than that the layout is identical.</p>
  
  <p>Because of this, I don't think it warrants creating two different views and setting the layout for the home page to use one view, and all other pages to use another when most of the template is identical.</p>
  
  <p>I have created a partial named <code>_HomeContentPartial</code> containing the unique content for the home page.</p>
  
  <p>What is the best way in Razor to conditionally include this partial only if my home (index action on my home controller) is the current page?</p>