diff options
author | prplecake <me@prplecake.com> | 2022-12-11 00:27:44 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-11 07:27:44 +0100 |
commit | 714e68db38b4fe115cf96fd7b9805909c4319b67 (patch) | |
tree | 6220ed78b467fdee9d9a5b654b31c54520a5d79d | |
parent | ad568924c064c41e056dfec651217dbe7bb637fc (diff) |
Add noindex setting to Admin settings Discovery page (#22205)
* Add noindex setting to Admin settings Discovery page * Replace default_noindex i18n
-rw-r--r-- | app/views/admin/settings/discovery/show.html.haml | 3 | ||||
-rw-r--r-- | config/locales/en.yml | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/app/views/admin/settings/discovery/show.html.haml b/app/views/admin/settings/discovery/show.html.haml index b429cdd7b..f60d1c766 100644 --- a/app/views/admin/settings/discovery/show.html.haml +++ b/app/views/admin/settings/discovery/show.html.haml @@ -26,6 +26,9 @@ .fields-group = f.input :timeline_preview, as: :boolean, wrapper: :with_label + .fields-group + = f.input :noindex, as: :boolean, wrapper: :with_label, label: t('admin.settings.default_noindex.title'), hint: t('admin.settings.default_noindex.desc_html') + %h4= t('admin.settings.discovery.follow_recommendations') .fields-group diff --git a/config/locales/en.yml b/config/locales/en.yml index 1cc53dca4..a045db1ab 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -704,6 +704,9 @@ en: content_retention: preamble: Control how user-generated content is stored in Mastodon. title: Content retention + default_noindex: + desc_html: Affects all users who have not changed this setting themselves + title: Opt users out of search engine indexing by default discovery: follow_recommendations: Follow recommendations preamble: Surfacing interesting content is instrumental in onboarding new users who may not know anyone Mastodon. Control how various discovery features work on your server. |