about summary refs log tree commit diff
path: root/app/views/following_accounts
diff options
context:
space:
mode:
authorYamagishi Kazutoshi <ykzts@desire.sh>2017-04-20 00:17:32 +0900
committerEugen <eugen@zeonfederated.com>2017-04-19 17:17:32 +0200
commit2510119f195974626670a843147641aaf2f391cc (patch)
tree911a00cb1b30f0c5166e5fc4a3510dcfe55786f1 /app/views/following_accounts
parentfe1ddc3b9614380367fa55f13df033e21c96747e (diff)
Add meta tags for OGP to following & follow page (#2052)
* Add meta tags for OGP to following & follow page

* simplify render helper

* Follow up #2133

* og:type is only accounts/show

* revert accounts/{following,followers}
Diffstat (limited to 'app/views/following_accounts')
-rw-r--r--app/views/following_accounts/index.html.haml3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/views/following_accounts/index.html.haml b/app/views/following_accounts/index.html.haml
index cd3737591..11e730e04 100644
--- a/app/views/following_accounts/index.html.haml
+++ b/app/views/following_accounts/index.html.haml
@@ -1,6 +1,9 @@
 - content_for :page_title do
   = t('accounts.people_followed_by', name: display_name(@account))
 
+- content_for :header_tags do
+  = render 'accounts/og', account: @account
+
 = render 'accounts/header', account: @account
 
 = render 'accounts/follow_grid', accounts: @accounts