1
0
Fork 1
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:
naskya 2023-07-20 07:11:04 +00:00
parent 422f74ea8f
commit 5d35f4ee24
Signed by: naskya
GPG key ID: 712D413B3A9FED5C
7 changed files with 7 additions and 6 deletions

View file

@ -13,6 +13,7 @@
## 細かい変更点
- インデックス拒否に `noindex` に加えて `nofollow,noarchive,nocache,noimageindex` も指定
- インスタンスティッカーに表示するサーバーのアイコンとして favicon を優先する
- favicon のほうがよくカスタマイズされているため
- 誤爆しやすい位置にあるフォローボタンを隠す設定を追加

View file

@ -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')

View file

@ -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')

View file

@ -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')

View file

@ -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')

View file

@ -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')

View file

@ -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')