Add og:url tags (#2298)

* add og:url to stream_item view

* add og:url and text to about/show

* add og:url to profile, followers and follows pages
This commit is contained in:
Wesley Ellis 2017-04-22 11:29:46 -04:00 committed by Eugen
parent 5357329454
commit a1174a6d7e
9 changed files with 69 additions and 3 deletions

View file

@ -2,7 +2,7 @@
= t('accounts.people_who_follow', name: display_name(@account))
- content_for :header_tags do
= render 'accounts/og', account: @account
= render 'accounts/og', account: @account, url: account_followers_url(@account, only_path: false)
= render 'accounts/header', account: @account