ソースを参照

Merge branch 'fix/rss-link' into 'develop'

RSS: Make sure post URL is the first `<link>` element

See merge request pleroma/pleroma!3308
youtube-fix
rinpatch 3年前
コミット
17f41a589f
1個のファイルの変更2行の追加1行の削除
  1. +2
    -1
      lib/pleroma/web/templates/feed/feed/_activity.rss.eex

+ 2
- 1
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 %>


読み込み中…
キャンセル
保存