<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %> <%@ Import Namespace="Orchard.Models"%> <%@ Import Namespace="Orchard.Blogs.Extensions"%> <%@ Import Namespace="Orchard.Core.Common.Models"%> <%@ Import Namespace="Orchard.Blogs.Models"%>

<%=Html.Encode(Model.Title) %>

<%=Html.PublishedState() %> | ?? comments
<%=Model.Body ?? "

there's no content for this blog post

" %>

<%-- todo: (heskew) make into a ul --%> Edit Post View Post<% if (Model.Published == null) { // todo: (heskew) be smart about this and maybe have other contextual actions - including view/preview for view up there ^^ %> Publish Post Now <% } %> Remove Post