Add meta tags for OGP to following & follow page (#2052)
* Add meta tags for OGP to following & follow page * simplify render helper * Follow up #2133 * og:type is only accounts/show * revert accounts/{following,followers}
This commit is contained in:
parent
fe1ddc3b96
commit
2510119f19
4 changed files with 14 additions and 7 deletions
|
@ -1,6 +1,9 @@
|
|||
- content_for :page_title do
|
||||
= t('accounts.people_who_follow', name: display_name(@account))
|
||||
|
||||
- content_for :header_tags do
|
||||
= render 'accounts/og', account: @account
|
||||
|
||||
= render 'accounts/header', account: @account
|
||||
|
||||
= render 'accounts/follow_grid', accounts: @accounts
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue