1
0
Fork 0
mirror of https://github.com/mastodon/mastodon.git synced 2024-08-20 21:08:15 -07:00

Fix Lint issues

This commit is contained in:
Alan Ye 2024-04-14 11:40:55 +08:00 committed by GitHub
parent 42e88d7f26
commit 9925e97e46
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,6 +1,5 @@
- content_for :page_title do
- display_name = display_name(@account).gsub(/:\w+:/, '')
= #{display_name(@account)} (#{acct(@account)})
display_name(@account).gsub(/:\w+:/, '') + " (#{acct(@account)})"
- content_for :header_tags do
- if @account.user_prefers_noindex?