Add option to opt out of search engines on public profile/status pages (#4199)

This commit is contained in:
Eugen Rochko
2017-07-14 16:41:02 +02:00
committed by GitHub
parent 999170d898
commit c42092ba7a
11 changed files with 30 additions and 0 deletions

View File

@ -2,6 +2,9 @@
= t('accounts.people_who_follow', name: display_name(@account))
- content_for :header_tags do
- if @account.user&.setting_noindex
%meta{ name: 'robots', content: 'noindex' }/
= render 'accounts/og', account: @account, url: account_followers_url(@account, only_path: false)
= render 'accounts/header', account: @account