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