summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrinpatch <rinpatch@sdf.org>2021-02-08 20:14:53 +0000
committerrinpatch <rinpatch@sdf.org>2021-02-08 20:14:53 +0000
commit17f41a589fe388f04e3eab876771d56f2b32d20f (patch)
tree6a175bf0755f21cdae7f09983f0ece7304fed95e
parenta52cedba6211e0f8ef221458efe5b1cd151faf0f (diff)
parented8ef80b5eb4936087389dd9a6545e9a3b666311 (diff)
Merge branch 'fix/rss-link' into 'develop'
RSS: Make sure post URL is the first `<link>` element See merge request pleroma/pleroma!3308
-rw-r--r--lib/pleroma/web/templates/feed/feed/_activity.rss.eex3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/pleroma/web/templates/feed/feed/_activity.rss.eex b/lib/pleroma/web/templates/feed/feed/_activity.rss.eex
index 42960de7d..947bbb099 100644
--- a/lib/pleroma/web/templates/feed/feed/_activity.rss.eex
+++ b/lib/pleroma/web/templates/feed/feed/_activity.rss.eex
@@ -9,7 +9,6 @@
<ostatus:conversation ref="<%= activity_context(@activity) %>">
<%= activity_context(@activity) %>
</ostatus:conversation>
- <link rel="ostatus:conversation"><%= activity_context(@activity) %></link>
<%= if @data["summary"] do %>
<description><%= escape(@data["summary"]) %></description>
@@ -21,6 +20,8 @@
<link><%= @data["external_url"] %></link>
<% end %>
+ <link rel="ostatus:conversation"><%= activity_context(@activity) %></link>
+
<%= for tag <- @data["tag"] || [] do %>
<category term="<%= tag %>"></category>
<% end %>