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:
parent
5357329454
commit
a1174a6d7e
9 changed files with 69 additions and 3 deletions
|
@ -6,6 +6,7 @@
|
|||
|
||||
- content_for :header_tags do
|
||||
%meta{ property: 'og:site_name', content: site_title }/
|
||||
%meta{ property: 'og:url', content: about_url }/
|
||||
%meta{ property: 'og:type', content: 'website' }/
|
||||
%meta{ property: 'og:title', content: site_hostname }/
|
||||
%meta{ property: 'og:description', content: strip_tags(@instance_presenter.site_description.presence || t('about.about_mastodon')) }/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue