2010-03-08 19:41:23 -08:00
|
|
|
<%@ Control Language="C#" Inherits="Orchard.Mvc.ViewUserControl<ContentItemViewModel<BlogPost>>" %>
|
|
|
|
|
<%@ Import Namespace="Orchard.Mvc.ViewModels"%>
|
|
|
|
|
<%@ Import Namespace="Orchard.Blogs.Extensions"%>
|
|
|
|
|
<%@ Import Namespace="Orchard.Blogs.Models"%>
|
|
|
|
|
<%Model.Zones.AddRenderPartial("zonetest", "ZoneTest", Model); %>
|
2010-06-09 23:06:36 -07:00
|
|
|
<h2><%: Html.Link(Model.Item.Title, Url.BlogPost(Model.Item)) %></h2>
|
2010-06-10 11:36:44 -07:00
|
|
|
<div class="meta"><%=Html.PublishedState(Model.Item, T) %> | <%Html.Zone("meta");%></div>
|
2010-03-08 19:41:23 -08:00
|
|
|
<div class="postsummary">
|
|
|
|
|
<% Html.Zone("primary"); %>
|
|
|
|
|
</div>
|