]> cat aescling's git repositories - mastodon.git/commit
Clean up and improve generated OpenGraph tags (#4901)
authorEugen Rochko <eugen@zeonfederated.com>
Tue, 12 Sep 2017 03:39:38 +0000 (05:39 +0200)
committerGitHub <noreply@github.com>
Tue, 12 Sep 2017 03:39:38 +0000 (05:39 +0200)
commit8f8e6776306b07d5914ef39c895de0cab44ada7f
treed6871435a0790985bc3afd8cb00c0469d22bf229
parent4931eac28003aed8a35ce6c7c499840c92cc3af5
Clean up and improve generated OpenGraph tags (#4901)

- Return all images as og:image
- Return videos as og:image (preview) and og:video
- Return profile:username on profiles
app/helpers/application_helper.rb
app/serializers/oembed_serializer.rb
app/views/accounts/_og.html.haml
app/views/accounts/show.html.haml
app/views/stream_entries/_og_description.html.haml
app/views/stream_entries/_og_image.html.haml
app/views/stream_entries/show.html.haml
spec/views/stream_entries/show.html.haml_spec.rb