mirror of
https://example.com
synced 2024-11-23 06:56:38 +09:00
feat: specify nofollow,noarchive,nocache,noimageindex in addition to noindex (close #37)
This commit is contained in:
parent
422f74ea8f
commit
5d35f4ee24
7 changed files with 7 additions and 6 deletions
|
@ -13,6 +13,7 @@
|
|||
|
||||
## 細かい変更点
|
||||
|
||||
- インデックス拒否に `noindex` に加えて `nofollow,noarchive,nocache,noimageindex` も指定
|
||||
- インスタンスティッカーに表示するサーバーのアイコンとして favicon を優先する
|
||||
- favicon のほうがよくカスタマイズされているため
|
||||
- 誤爆しやすい位置にあるフォローボタンを隠す設定を追加
|
||||
|
|
|
@ -55,7 +55,7 @@ html
|
|||
|
||||
block meta
|
||||
if privateMode
|
||||
meta(name='robots' content='noindex')
|
||||
meta(name='robots' content='noindex,nofollow,noarchive,nocache,noimageindex')
|
||||
|
||||
block og
|
||||
meta(property='og:title' content=title || 'Firefish')
|
||||
|
|
|
@ -23,7 +23,7 @@ block og
|
|||
block meta
|
||||
unless privateMode
|
||||
if profile.noCrawle
|
||||
meta(name='robots' content='noindex')
|
||||
meta(name='robots' content='noindex,nofollow,noarchive,nocache,noimageindex')
|
||||
if profile.preventAiLearning
|
||||
meta(name='robots' content='noai')
|
||||
meta(name='robots' content='noimageai')
|
||||
|
|
|
@ -23,7 +23,7 @@ block og
|
|||
block meta
|
||||
unless privateMode
|
||||
if user.host || profile.noCrawle
|
||||
meta(name='robots' content='noindex')
|
||||
meta(name='robots' content='noindex,nofollow,noarchive,nocache,noimageindex')
|
||||
if profile.preventAiLearning
|
||||
meta(name='robots' content='noai')
|
||||
meta(name='robots' content='noimageai')
|
||||
|
|
|
@ -35,7 +35,7 @@ block og
|
|||
block meta
|
||||
unless privateMode
|
||||
if user.host || isRenote || profile.noCrawle
|
||||
meta(name='robots' content='noindex')
|
||||
meta(name='robots' content='noindex,nofollow,noarchive,nocache,noimageindex')
|
||||
if profile.preventAiLearning
|
||||
meta(name='robots' content='noai')
|
||||
meta(name='robots' content='noimageai')
|
||||
|
|
|
@ -23,7 +23,7 @@ block og
|
|||
block meta
|
||||
unless privateMode
|
||||
if profile.noCrawle
|
||||
meta(name='robots' content='noindex')
|
||||
meta(name='robots' content='noindex,nofollow,noarchive,nocache,noimageindex')
|
||||
if profile.preventAiLearning
|
||||
meta(name='robots' content='noai')
|
||||
meta(name='robots' content='noimageai')
|
||||
|
|
|
@ -23,7 +23,7 @@ block og
|
|||
block meta
|
||||
unless privateMode
|
||||
if user.host || profile.noCrawle
|
||||
meta(name='robots' content='noindex')
|
||||
meta(name='robots' content='noindex,nofollow,noarchive,nocache,noimageindex')
|
||||
if profile.preventAiLearning
|
||||
meta(name='robots' content='noai')
|
||||
meta(name='robots' content='noimageai')
|
||||
|
|
Loading…
Reference in a new issue