potentially fixes #1701
adds tag params to link href for posts and posts.atom
This commit is contained in:
@@ -2,8 +2,8 @@
|
||||
|
||||
<feed xmlns="http://www.w3.org/2005/Atom">
|
||||
<title><%= Danbooru.config.app_name %></title>
|
||||
<link href="http://<%= Danbooru.config.hostname %>/posts.atom" rel="self"/>
|
||||
<link href="http://<%= Danbooru.config.hostname %>/posts" rel="alternate"/>
|
||||
<link href="http://<%= Danbooru.config.hostname %>/posts.atom?tags=<%= params[:tags] %>" rel="self"/>
|
||||
<link href="http://<%= Danbooru.config.hostname %>/posts?tags=<%= params[:tags] %>" rel="alternate"/>
|
||||
<id>http://<%= Danbooru.config.hostname %>/posts.atom?tags=<%= params[:tags] %></id>
|
||||
<% if @posts.any? %>
|
||||
<updated><%= @posts[0].created_at.gmtime.xmlschema %></updated>
|
||||
|
||||
Reference in New Issue
Block a user