Fix rss view on hashtag (#18406)
parent
bda8345e91
commit
12535568f7
|
@ -3,7 +3,6 @@ RSS::Builder.build do |doc|
|
||||||
doc.description(I18n.t('rss.descriptions.tag', hashtag: @tag.name))
|
doc.description(I18n.t('rss.descriptions.tag', hashtag: @tag.name))
|
||||||
doc.link(tag_url(@tag))
|
doc.link(tag_url(@tag))
|
||||||
doc.last_build_date(@statuses.first.created_at) if @statuses.any?
|
doc.last_build_date(@statuses.first.created_at) if @statuses.any?
|
||||||
doc.icon(full_asset_url(@account.avatar.url(:original)))
|
|
||||||
doc.logo(full_pack_url('media/images/logo_transparent_white.svg'))
|
doc.logo(full_pack_url('media/images/logo_transparent_white.svg'))
|
||||||
doc.generator("Mastodon v#{Mastodon::Version.to_s}")
|
doc.generator("Mastodon v#{Mastodon::Version.to_s}")
|
||||||
|
|
||||||
|
|
Reference in New Issue