chore: make sensitive channel note noindex

This commit is contained in:
anatawa12 2023-08-06 22:37:42 +09:00
parent c2eb20c4c9
commit 270c7a1bfd
No known key found for this signature in database
GPG Key ID: 9CA909848B8E4EA6
1 changed files with 3 additions and 2 deletions

View File

@ -36,7 +36,8 @@ block og
block meta
if user.host || isRenote || profile.noCrawle
// TODO: make user configurable if sensitive channel note should be indexed or not
if user.host || isRenote || profile.noCrawle || (note.channel && note.channel.isSensitive)
meta(name='robots' content='noindex')
if profile.preventAiLearning
meta(name='robots' content='noimageai')