read.html.erb
上传用户:netsea168
上传日期:2022-07-22
资源大小:4652k
文件大小:1k
- <!--
- <rdf:RDF
- xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/"
- xmlns:dc="http://purl.org/dc/elements/1.1/">
- <rdf:Description
- rdf:about=""
- trackback:ping="<%= @article.trackback_url %>"
- dc:title="<%=h @article.title.gsub(/-+/, '-') %>"
- dc:identifier="<%= @article.permalink_url %>"
- dc:description="<%=h (@article.html.strip_html[0..255]).gsub(/-+/, '-') %>"
- dc:creator="<%= h @article.author %>"
- dc:date="<%= @article.updated_at.xmlschema %>" />
- </rdf:RDF>
- -->
- <%= render :partial => '/articles/article', :object => @article %>
- <% if @article.allow_pings? -%>
- <h2 id="trackbacks">Trackbacks</h2>
- <p>
- Use the following link to trackback from your own site:<br />
- <%= @article.trackback_url %>
- </p>
- <% unless @article.published_trackbacks.blank? -%>
- <ol class="trackbacks">
- <%= render(:partial => "/articles/trackback", :collection => @article.published_trackbacks) %>
- </ol>
- <% end -%>
- <% end -%>
- <% if @article.allow_comments? or @article.published_comments.size > 0 -%>
- <% if !@article.comments_closed? and @article.published_comments.size > 0 %>
- <h2 id="comments">Comments</h2>
- <% end -%>
- <% unless @article.comments_closed? %>
- <p><a href="#commentform"><%= _("Leave a comment") %></a></p>
- <% end -%>
- <div id="comments_div">
- <%= render :partial => "/articles/comment_list" %>
- </div>
- <% end -%>
- <%= render :partial => '/articles/comment_form' unless @article.comments_closed? %>