Created
September 7, 2012 11:21
-
-
Save willprice76/3665295 to your computer and use it in GitHub Desktop.
Pageless Tridion Content News Detail View
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
<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<XDocument>" %> | |
<html> | |
<head> | |
<title><%=Model.Root.Element("heading").Value %></title> | |
<meta name="description" content="<%=Model.Root.Element("metadata").Element("description") %>" /> | |
</head> | |
<body> | |
<h1><%=Model.Root.Element("heading").Value %></h1> | |
<%=Html.Raw(Model.Root.Element("body").ToString())%> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment