diff --git a/README.md b/README.md index fb809b7b..ab5525d5 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,7 @@ ## 細かい変更点 +- インデックス拒否に `noindex` に加えて `nofollow,noarchive,nocache,noimageindex` も指定 - インスタンスティッカーに表示するサーバーのアイコンとして favicon を優先する - favicon のほうがよくカスタマイズされているため - 誤爆しやすい位置にあるフォローボタンを隠す設定を追加 diff --git a/packages/backend/src/server/web/views/base.pug b/packages/backend/src/server/web/views/base.pug index 7fda4f8a..cd42d829 100644 --- a/packages/backend/src/server/web/views/base.pug +++ b/packages/backend/src/server/web/views/base.pug @@ -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') diff --git a/packages/backend/src/server/web/views/clip.pug b/packages/backend/src/server/web/views/clip.pug index 79d62938..47dd0971 100644 --- a/packages/backend/src/server/web/views/clip.pug +++ b/packages/backend/src/server/web/views/clip.pug @@ -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') diff --git a/packages/backend/src/server/web/views/gallery-post.pug b/packages/backend/src/server/web/views/gallery-post.pug index 561a19b2..050a06d9 100644 --- a/packages/backend/src/server/web/views/gallery-post.pug +++ b/packages/backend/src/server/web/views/gallery-post.pug @@ -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') diff --git a/packages/backend/src/server/web/views/note.pug b/packages/backend/src/server/web/views/note.pug index dae0a82d..9cd29021 100644 --- a/packages/backend/src/server/web/views/note.pug +++ b/packages/backend/src/server/web/views/note.pug @@ -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') diff --git a/packages/backend/src/server/web/views/page.pug b/packages/backend/src/server/web/views/page.pug index bfc7ebf7..e466c797 100644 --- a/packages/backend/src/server/web/views/page.pug +++ b/packages/backend/src/server/web/views/page.pug @@ -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') diff --git a/packages/backend/src/server/web/views/user.pug b/packages/backend/src/server/web/views/user.pug index f5820f55..d77b3986 100644 --- a/packages/backend/src/server/web/views/user.pug +++ b/packages/backend/src/server/web/views/user.pug @@ -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')