chore: make sensitive channel note noindex
This commit is contained in:
parent
c2eb20c4c9
commit
270c7a1bfd
|
@ -36,7 +36,8 @@ block og
|
||||||
|
|
||||||
|
|
||||||
block meta
|
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')
|
meta(name='robots' content='noindex')
|
||||||
if profile.preventAiLearning
|
if profile.preventAiLearning
|
||||||
meta(name='robots' content='noimageai')
|
meta(name='robots' content='noimageai')
|
||||||
|
|
Loading…
Reference in New Issue