1
0
Fork 0
forked from fedi/mastodon

Fix ogp url (#3802)

This commit is contained in:
abcang 2017-06-17 05:38:26 +09:00 committed by Eugen Rochko
parent c93d0978f2
commit 1840a352f5

View file

@ -10,7 +10,7 @@
%meta{ property: 'og:type', content: 'website' }/ %meta{ property: 'og:type', content: 'website' }/
%meta{ property: 'og:title', content: site_hostname }/ %meta{ property: 'og:title', content: site_hostname }/
%meta{ property: 'og:description', content: strip_tags(@instance_presenter.site_description.presence || t('about.about_mastodon')) }/ %meta{ property: 'og:description', content: strip_tags(@instance_presenter.site_description.presence || t('about.about_mastodon')) }/
%meta{ property: 'og:image', content: asset_pack_path('mastodon_small.jpg') }/ %meta{ property: 'og:image', content: asset_pack_path('mastodon_small.jpg', protocol: :request) }/
%meta{ property: 'og:image:width', content: '400' }/ %meta{ property: 'og:image:width', content: '400' }/
%meta{ property: 'og:image:height', content: '400' }/ %meta{ property: 'og:image:height', content: '400' }/
%meta{ property: 'twitter:card', content: 'summary' }/ %meta{ property: 'twitter:card', content: 'summary' }/