parent
77d8bbe438
commit
efa4f4ca10
10 changed files with 2 additions and 23 deletions
|
@ -5,7 +5,7 @@
|
|||
- if @account.noindex?
|
||||
%meta{ name: 'robots', content: 'noindex, noarchive, noai, noimageai' }/
|
||||
%meta{ name: 'CCBot', content: 'nofollow' }/
|
||||
- elsif @account.noai?
|
||||
- else
|
||||
%meta{ name: 'robots', content: 'noai, noimageai' }/
|
||||
%meta{ name: 'CCBot', content: 'nofollow' }/
|
||||
|
||||
|
|
|
@ -21,9 +21,6 @@
|
|||
.fields-group
|
||||
= ff.input :discoverable_local, wrapper: :with_label, kmyblue: true, label: I18n.t('simple_form.labels.defaults.discoverable_local'), hint: I18n.t('simple_form.hints.defaults.discoverable_local')
|
||||
|
||||
.fields-group
|
||||
= ff.input :noai, wrapper: :with_label, kmyblue: true, label: I18n.t('simple_form.labels.defaults.setting_noai'), hint: I18n.t('simple_form.hints.defaults.setting_noai')
|
||||
|
||||
.fields-group
|
||||
= f.input :unlocked, as: :boolean, wrapper: :with_label
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
- if @account.noindex?
|
||||
%meta{ name: 'robots', content: 'noindex, noarchive, noai, noimageai' }/
|
||||
%meta{ name: 'CCBot', content: 'nofollow' }/
|
||||
- elsif @account.noai?
|
||||
- else
|
||||
%meta{ name: 'robots', content: 'noai, noimageai' }/
|
||||
%meta{ name: 'CCBot', content: 'nofollow' }/
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue