forked from BlogEngine/BlogEngine.NET
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpost.aspx
More file actions
45 lines (36 loc) · 2.41 KB
/
post.aspx
File metadata and controls
45 lines (36 loc) · 2.41 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<%@ Page Language="C#" AutoEventWireup="true" ValidateRequest="False" Inherits="post" Codebehind="post.aspx.cs" %>
<%@ Register Src="Custom/Controls/CommentView.ascx" TagName="CommentView" TagPrefix="uc" %>
<asp:content id="Content1" contentplaceholderid="cphBody" runat="Server">
<asp:PlaceHolder ID="phCommentNotificationUnsubscription" runat="server" visible="false">
<div id="commentNotificationUnsubscription">
<h1><%= Resources.labels.commentNotificationUnsubscriptionHeader %></h1>
<div><%= Resources.labels.commentNotificationUnsubscriptionText %></div>
</div>
</asp:PlaceHolder>
<asp:placeholder runat="server" id="phPostNavigation" visible="false" />
<asp:placeholder runat="server" id="pwPost" />
<asp:placeholder runat="server" id="phRelatedPosts" />
<asp:placeholder runat="server" id="phRDF">
<!--
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
<rdf:Description rdf:about="<%=Post.AbsoluteLink %>" dc:identifier="<%=Post.AbsoluteLink %>" dc:title="<%=Post.Title %>" trackback:ping="<%=Post.TrackbackLink %>" />
</rdf:RDF>
-->
</asp:placeholder>
<blog:RelatedPosts runat="server" ID="related" MaxResults="3" ShowDescription="true" DescriptionMaxLength="100" Visible="false" />
<uc:CommentView ID="CommentView1" runat="server" />
<div id="disqus_box" runat="server">
<div id="disqus_thread"></div>
<script type="text/javascript">
var disqus_url = '<%= Post.PermaLink %>';
var disqus_developer = '<%= BlogEngine.Core.BlogSettings.Instance.DisqusDevMode ? 1 : 0 %>';
(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = '<%=Request.Url.Scheme %>://<%=BlogEngine.Core.BlogSettings.Instance.DisqusWebsiteName %>.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
</script>
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript=<%=BlogEngine.Core.BlogSettings.Instance.DisqusWebsiteName %>">comments powered by Disqus.</a></noscript>
<a href="http://disqus.com" class="dsq-brlink">blog comments powered by <span class="logo-disqus">Disqus</span></a>
</div>
</asp:content>