Created
September 2, 2013 13:27
-
-
Save Maarten88/6412851 to your computer and use it in GitHub Desktop.
MVC4 / Boostrap 3 page layout. See http://www.macaw.nl/weblog/2013/5/setting-up-a-solution-with-mvc4-and-twitter-bootstrap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@using Auction.Web.Utility | |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>@ViewBag.Title - My ASP.NET MVC Application</title> | |
@RenderSection("meta", required: false) | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<link href="~/Content/themes/default/bootstrap.css" rel="stylesheet"> | |
@Html.Partial("_html5shiv") | |
<!-- Fav and touch icons --> | |
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="~/Content/ico/apple-touch-icon-144-precomposed.png"> | |
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="~/Content/ico/apple-touch-icon-114-precomposed.png"> | |
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="~/Content/ico/apple-touch-icon-72-precomposed.png"> | |
<link rel="apple-touch-icon-precomposed" href="~/Content/ico/apple-touch-icon-57-precomposed.png"> | |
<link href="~/Content/ico/favicon.ico" rel="shortcut icon" type="image/x-icon" /> | |
</head> | |
<body> | |
@Html.Partial("_NavBar") | |
@RenderSection("featured", required: false) | |
<div class="container"> | |
@RenderBody() | |
<hr /> | |
<div class="footer"> | |
<p>© Company 2013</p> | |
</div> | |
</div> | |
@Scripts.Render("~/bundles/jquery") | |
@Scripts.Render("~/bundles/bootstrap") | |
@RenderSection("scripts", required: false) | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment