Skip to content

Instantly share code, notes, and snippets.

@ondrek
Created September 24, 2014 14:44
Show Gist options
  • Save ondrek/178dd212280de23795fd to your computer and use it in GitHub Desktop.
Save ondrek/178dd212280de23795fd to your computer and use it in GitHub Desktop.
homepage_layout
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link rel="shortcut icon" href='@Url.FrontUrl().FileUrl("favicon.ico")' />
@Html.FrontHtml().Title()
@Html.FrontHtml().Meta()
@Html.FrontHtml().RegisterStyles()
@Html.FrontHtml().RegisterScripts()
<!-- new stylesheet for digicity -->
<link rel="Stylesheet" href='@Url.FrontUrl().FileUrl("Styles/digicityDiff.css")' type="text/css" />
</head>
<body>
<div id="body-container">
<div id="body-wrapper">
<header id="header" class="clearfix">
<div class="dmText-wrapper">
<h1 class="logo">
<a href='@Url.FrontUrl().PageUrl("DM_index")'>
<img src="@Url.FrontUrl().FileUrl("logo.png")" alt="Logo"/></a></h1>
@Html.FrontHtml().RenderView("Menu", ViewData)
<ul class="quicklinks right">
@Html.FrontHtml().RenderView("LoginStatus")
</ul>
</div>
</header>
<div id="main-container" class="clearfix">
<div class="topbar">
@Html.FrontHtml().Position("topbar", () => { return "<h1 class=\"title\">" + @MenuHelper.Current().LinkText.Label() + "</h1>"; })
</div>
@Html.FrontHtml().Position("mainContainer")
</div>
</div>
@Html.FrontHtml().RenderView("footer_white",ViewData)
</div>
<div class="hide">
@Html.FrontHtml().RenderView("LoginForm", ViewData)
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment