mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-01 00:36:21 +01:00
Fix duplicate “description” meta tag on accounts public pages (#12923)
Fixes #12920
This commit is contained in:
parent
619da5a4dc
commit
40852b84bd
@ -2,8 +2,6 @@
|
|||||||
= "#{display_name(@account)} (@#{@account.local_username_and_domain})"
|
= "#{display_name(@account)} (@#{@account.local_username_and_domain})"
|
||||||
|
|
||||||
- content_for :header_tags do
|
- content_for :header_tags do
|
||||||
%meta{ name: 'description', content: account_description(@account) }/
|
|
||||||
|
|
||||||
- if @account.user&.setting_noindex
|
- if @account.user&.setting_noindex
|
||||||
%meta{ name: 'robots', content: 'noindex, noarchive' }/
|
%meta{ name: 'robots', content: 'noindex, noarchive' }/
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user