PageRenderTime 72ms CodeModel.GetById 25ms RepoModel.GetById 0ms app.codeStats 0ms

/BlogEngine/BlogEngine.NET/themes/Mobile/PostView.ascx

#
ASP.NET | 15 lines | 12 code | 3 blank | 0 comment | 1 complexity | 265f4686de73282b10df98a73cd34623 MD5 | raw file
Possible License(s): LGPL-2.1, Apache-2.0, BSD-3-Clause
  1. <%@ Control Language="C#" AutoEventWireup="true" EnableViewState="false" Inherits="BlogEngine.Core.Web.Controls.PostViewBase" %>
  2. <div class="post xfolkentry" id="post<%=Index %>">
  3. <h2><a class="postheader taggedlink" href="<%=Post.RelativeLink %>"><%=Server.HtmlEncode(Post.Title) %></a></h2>
  4. <span class="author">by <a href="<%=VirtualPathUtility.ToAbsolute("~/") + "author/" + BlogEngine.Core.Utils.RemoveIllegalCharacters(Post.Author) %>.aspx"><%=Post.AuthorProfile != null ? Post.AuthorProfile.DisplayName : Post.Author%></a></span>
  5. <span class="pubDate"><%=Post.DateCreated.ToShortDateString() %></span>
  6. <div class="entry"><asp:PlaceHolder ID="BodyContent" runat="server" /></div>
  7. <div class="postfooter">
  8. Tags: <%=TagLinks(", ") %><br />
  9. Categories: <%=CategoryLinks(" | ") %><br />
  10. </div>
  11. <p>| <a href="#top">To the top </a> |</p>
  12. </div>