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
1 changed files with 1 additions and 2 deletions

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?