about summary refs log tree commit diff
path: root/app/views/about
diff options
context:
space:
mode:
authorWesley Ellis <tahnok@gmail.com>2017-04-22 11:29:46 -0400
committerEugen <eugen@zeonfederated.com>2017-04-22 17:29:46 +0200
commita1174a6d7e60dd73ab97da08b52dd751c45e2b6b (patch)
tree82ab9dace044738a843fb404ed7d1db9dc9afe77 /app/views/about
parent5357329454afd76c9c3bf5c292d605e3039d3508 (diff)
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
Diffstat (limited to 'app/views/about')
-rw-r--r--app/views/about/show.html.haml1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/about/show.html.haml b/app/views/about/show.html.haml
index 1c928c531..4c008a06a 100644
--- a/app/views/about/show.html.haml
+++ b/app/views/about/show.html.haml
@@ -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')) }/