about summary refs log tree commit diff
path: root/app/views/accounts/_og.html.haml
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/accounts/_og.html.haml
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/accounts/_og.html.haml')
-rw-r--r--app/views/accounts/_og.html.haml1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/accounts/_og.html.haml b/app/views/accounts/_og.html.haml
index b7f019c50..3ad39f391 100644
--- a/app/views/accounts/_og.html.haml
+++ b/app/views/accounts/_og.html.haml
@@ -1,3 +1,4 @@
+%meta{ property: 'og:url', content: url }/
 %meta{ property: 'og:site_name', content: site_title }/
 %meta{ property: 'og:title', content: [yield(:page_title).strip.presence, site_title].compact.join(' - ') }/
 %meta{ property: 'og:description', content: account.note }/