possible fix for issue #1340
added paragraph tag containing post.tag_string as child element of div inside content; also, as minor edit, modified post/atom to posts.atom and post/index to posts in the link href.
This commit is contained in:
@@ -2,8 +2,8 @@
|
|||||||
|
|
||||||
<feed xmlns="http://www.w3.org/2005/Atom">
|
<feed xmlns="http://www.w3.org/2005/Atom">
|
||||||
<title><%= Danbooru.config.app_name %></title>
|
<title><%= Danbooru.config.app_name %></title>
|
||||||
<link href="http://<%= Danbooru.config.hostname %>/post/atom" rel="self"/>
|
<link href="http://<%= Danbooru.config.hostname %>/posts.atom" rel="self"/>
|
||||||
<link href="http://<%= Danbooru.config.hostname %>/post/index" rel="alternate"/>
|
<link href="http://<%= Danbooru.config.hostname %>/posts" rel="alternate"/>
|
||||||
<id>http://<%= Danbooru.config.hostname %>/posts.atom?tags=<%= params[:tags] %></id>
|
<id>http://<%= Danbooru.config.hostname %>/posts.atom?tags=<%= params[:tags] %></id>
|
||||||
<% if @posts.any? %>
|
<% if @posts.any? %>
|
||||||
<updated><%= @posts[0].created_at.gmtime.xmlschema %></updated>
|
<updated><%= @posts[0].created_at.gmtime.xmlschema %></updated>
|
||||||
@@ -25,6 +25,7 @@
|
|||||||
<a href="http://<%= Danbooru.config.hostname %>/posts/<%= post.id %>">
|
<a href="http://<%= Danbooru.config.hostname %>/posts/<%= post.id %>">
|
||||||
<img src="http://<%= Danbooru.config.hostname %><%= post.preview_file_url %>"/>
|
<img src="http://<%= Danbooru.config.hostname %><%= post.preview_file_url %>"/>
|
||||||
</a>
|
</a>
|
||||||
|
<p><%= post.tag_string %></p>
|
||||||
</div>
|
</div>
|
||||||
</content>
|
</content>
|
||||||
<author>
|
<author>
|
||||||
|
|||||||
Reference in New Issue
Block a user