Add Mastodon identity verification link

pull/804/head
littleairmada 2024-02-04 18:34:40 -05:00
parent 3bdb8f768c
commit c2542eacb0
No known key found for this signature in database
GPG Key ID: C8FAA922005D2CC2
6 changed files with 8 additions and 0 deletions

View File

@ -80,3 +80,4 @@ fingerprintAlgorithm = "sha256"
# bing = ""
# pinterest = ""
# yandex = ""
# mastodon = ""

View File

@ -76,3 +76,4 @@ fingerprintAlgorithm = "sha256"
# bing = ""
# pinterest = ""
# yandex = ""
# mastodon = ""

View File

@ -173,6 +173,7 @@ Congoはテーマの機能を制御する多数の設定パラメーターを提
|`verification.bing`|_Not set_|サイトのメタデータに含めるBingが提供するサイト検証文字列。|
|`verification.pinterest`|_Not set_|サイトのメタデータに含めるPinterestが提供するサイト検証文字列。|
|`verification.yandex`|_Not set_|サイトのメタデータに含めるYandexが提供するサイト検証文字列。|
|`verification.mastodon`|_Not set_|サイトのメタデータに含めるMastodonが提供するサイト検証文字列。|
<!-- prettier-ignore-end -->
## その他の設定ファイル

View File

@ -179,6 +179,7 @@ Many of the article defaults here can be overridden on a per article basis by sp
|`verification.bing`|_Not set_|The site verification string provided by Bing to be included in the site metadata.|
|`verification.pinterest`|_Not set_|The site verification string provided by Pinterest to be included in the site metadata.|
|`verification.yandex`|_Not set_|The site verification string provided by Yandex to be included in the site metadata.|
|`verification.mastodon`|_Not set_|The site verification string provided by Mastodon to be included in the site metadata.|
<!-- prettier-ignore-end -->
## Other configuration files

View File

@ -177,6 +177,7 @@ Congo 提供了大量的配置参数,用于控制主题的功能。下表概
|`verification.bing`|_未设置_|由 Bing 提供的要包含在站点元数据中的站点验证字符串。|
|`verification.pinterest`|_未设置_|由 Pinterest 提供的要包含在站点元数据中的站点验证字符串。|
|`verification.yandex`|_未设置_|由 Yandex 提供的要包含在站点元数据中的站点验证字符串。|
|`verification.mastodon`|_未设置_|由 Mastodon 提供的要包含在站点元数据中的站点验证字符串。|
## 其他配置文件

View File

@ -120,6 +120,9 @@
{{ with .Site.Params.verification.yandex }}
<meta name="yandex-verification" content="{{ . }}" />
{{ end }}
{{ with .Site.Params.verification.mastodon }}
<link rel="me" href="{{ . }}" />
{{ end }}
{{ with $.Params.externalUrl }}
<meta http-equiv="refresh" content="0; url={{ . }}" />
{{ end }}