Created
June 17, 2013 09:09
-
-
Save Maarten88/5795652 to your computer and use it in GitHub Desktop.
Setting up an ASP.NET MVC4 solution with 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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>@ViewBag.Title - My ASP.NET MVC Application</title> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<link href="~/Content/less/bootstrap.less" rel="stylesheet"> | |
<style type="text/css" > | |
body { | |
padding-top: 60px; | |
padding-bottom: 40px; | |
} | |
</style> | |
<link href="~/Content/less/responsive.less" 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") | |
<div class="container"> | |
@RenderSection("featured", required: false) | |
@RenderBody() | |
<hr /> | |
<div class="footer"> | |
<p>© Company 2013</p> | |
</div> | |
@Scripts.Render("~/bundles/jquery") | |
@Scripts.Render("~/bundles/bootstrap") | |
@RenderSection("scripts", required: false) | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment