1
0
Fork 1
mirror of https://example.com synced 2024-11-22 12:46:39 +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 b01650c7c1
commit 86cdcc1bdf
Signed by: naskya
GPG key ID: 164DFF24E2D40139
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')