Created
March 8, 2016 18:52
-
-
Save murven/30615dd1cbdea901595b to your computer and use it in GitHub Desktop.
Sitecore Master Layout
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 Sitecore.Mvc.Presentation | |
@using Sitecore.Mvc | |
@model RenderingModel | |
@{ | |
Layout = null; | |
} | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta name="viewport" content="width=device-width" /> | |
<title>@Model.Item.Fields["Title"]</title> | |
</head> | |
<body> | |
@Html.Sitecore().ViewRendering("Header") | |
@RenderBody() | |
@Html.Sitecore().ViewRendering("Footer") | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment