From 2510119f195974626670a843147641aaf2f391cc Mon Sep 17 00:00:00 2001 From: Yamagishi Kazutoshi Date: Thu, 20 Apr 2017 00:17:32 +0900 Subject: 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} --- app/views/follower_accounts/index.html.haml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'app/views/follower_accounts') diff --git a/app/views/follower_accounts/index.html.haml b/app/views/follower_accounts/index.html.haml index c30d601e6..4052967da 100644 --- a/app/views/follower_accounts/index.html.haml +++ b/app/views/follower_accounts/index.html.haml @@ -1,6 +1,9 @@ - content_for :page_title do = t('accounts.people_who_follow', 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 -- cgit