Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

Breadcrumb in nested layout

$
0
0

in my project I put some layout:

  1. _Layout, as main layout
  2. _Layout_Sales
  3. _Layout_Production
  4. _Layout_Project

where I put "Breadcrumb" above the main layout.

<div class="container body-content"><ul class="breadcrumb"><li><a href="#">Home</a></li></ul>

        @RenderBody()
        <hr /><footer><p>&copy; 2017 - Dev_Prj</p></footer></div>

is that right to put "Breadcrumb" above main layout ? or it should be put on the child layout ?

And, how to change "Breadcrumb" when the child page or great child page change ?


Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>