PageRenderTime 3ms CodeModel.GetById 1ms app.highlight 1ms RepoModel.GetById 1ms 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
 1<%@ Control Language="C#" AutoEventWireup="true" EnableViewState="false" Inherits="BlogEngine.Core.Web.Controls.PostViewBase" %>
 2
 3<div class="post xfolkentry" id="post<%=Index %>">
 4    <h2><a class="postheader taggedlink" href="<%=Post.RelativeLink %>"><%=Server.HtmlEncode(Post.Title) %></a></h2>
 5    <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>
 6    <span class="pubDate"><%=Post.DateCreated.ToShortDateString() %></span>
 7    <div class="entry"><asp:PlaceHolder ID="BodyContent" runat="server" /></div>
 8
 9    <div class="postfooter">        
10        Tags: <%=TagLinks(", ") %><br />
11        Categories: <%=CategoryLinks(" | ") %><br />
12    </div>
13    
14    <p>| <a href="#top">To the top </a> |</p>
15</div>