Skip to content

Instantly share code, notes, and snippets.

@katstojanovski
Last active May 25, 2016 07:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save katstojanovski/db396dccae9de8844676cc3fab0be980 to your computer and use it in GitHub Desktop.
Save katstojanovski/db396dccae9de8844676cc3fab0be980 to your computer and use it in GitHub Desktop.
Page View
@model SimpleDD4T2Application.Models.Page.Generic
<!DOCTYPE html>
<html>
<head>
<title>@Model.PageTitle</title>
</head>
<body>
<!-- Page Metadata Keywords -->
<div class="keywords">
@foreach (var keyword in Model.Keywords)
{
<span class="keyword">@keyword</span>
}
</div>
<!-- End Page Metadata Keywords -->
<!-- Component Presentations -->
<div class="contentarea">
@foreach (var item in Model.Items)
{
<div class="cp">
@Html.Render(item)
</div>
}
</div>
<!-- End Component Presentations -->
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment