1
0
Fork 1
mirror of https://github.com/mastodon/mastodon.git synced 2024-12-21 16:48:33 +00:00
Commit graph

5 commits

Author SHA1 Message Date
Eugen Rochko a568e3ca8e
Revert , hide sensitive text/images from OpenGraph previews ()
Display summary of attachments in description, and mark up content
warning if present, e.g.:

    Attached: 3 images · Content warning: Dota 2

When text is not supposed to be hidden, it looks more like:

    Attached: 3 images

    Here is the text of the toot

With , multilinguagility should be assured...
2018-03-18 20:33:07 +01:00
Eugen Rochko ff44b2e92d
Add missing meta description to profiles, some other SEO stuff ()
- Add missing meta description to profiles
- Add canonical rel link to landing page
- Remove linebreaks from title tags
- Add username to profile title
- Add toots/following/followers to profile description tags
- Add next/prev rel links to profiles
- Do not index follower/following variants of profiles
2018-03-09 00:35:07 +01:00
Eugen Rochko 8f8e677630 Clean up and improve generated OpenGraph tags ()
- Return all images as og:image
- Return videos as og:image (preview) and og:video
- Return profile:username on profiles
2017-09-12 05:39:38 +02:00
Wesley Ellis a1174a6d7e Add og:url tags ()
* add og:url to stream_item view

* add og:url and text to about/show

* add og:url to profile, followers and follows pages
2017-04-22 17:29:46 +02:00
Yamagishi Kazutoshi 2510119f19 Add meta tags for OGP to following & follow page ()
* Add meta tags for OGP to following & follow page

* simplify render helper

* Follow up 

* og:type is only accounts/show

* revert accounts/{following,followers}
2017-04-19 17:17:32 +02:00