/forum_topics/$id: fix atom feed discovery link.
> Found an issue with the forum topic ATOM discovery link. Currently the > link is visible to feed detectors, but they are unable to add it since > the link provided is invalid. > > <link rel="alternate" type="application/atom+xml" title="Artist tagging > help" href="http://danbooru.donmai.us/forum_topics.8199" />
This commit is contained in:
@@ -43,6 +43,8 @@
|
|||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<%= content_for(:html_header) do %>
|
<%= content_for(:html_header) do %>
|
||||||
|
<%= auto_discovery_link_tag(:atom, {format: :atom}, {title: @forum_topic.title}) %>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
$(function() {
|
$(function() {
|
||||||
$("#new-response-link").click(function(e) {
|
$("#new-response-link").click(function(e) {
|
||||||
@@ -57,5 +59,3 @@
|
|||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<% content_for(:html_header, auto_discovery_link_tag(:atom, forum_topics_url(@forum_topic, :atom), title: @forum_topic.title)) %>
|
|
||||||
|
|||||||
Reference in New Issue
Block a user