html layout new section: subbanner
This commit is contained in:
parent
1ba0ae4359
commit
9948f47b5e
3 changed files with 8 additions and 10 deletions
|
|
@ -3,7 +3,7 @@
|
|||
@{
|
||||
ViewData["Title"] = "Home Page";
|
||||
}
|
||||
|
||||
@section subbanner {
|
||||
<div id="myCarousel" class="carousel slide" data-ride="carousel" data-interval="6000">
|
||||
<ol class="carousel-indicators">
|
||||
@{
|
||||
|
|
@ -62,3 +62,5 @@
|
|||
<span class="sr-only">Suivant</span>
|
||||
</a>
|
||||
</div>
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -73,6 +73,7 @@ nav {
|
|||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
@RenderSection("subbanner", required: false)
|
||||
<main class="container body-content" role="main">
|
||||
@RenderBody()
|
||||
</main>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue