mirror of https://github.com/jpanther/congo.git
✨ Add Mastodon identity verification link
parent
3bdb8f768c
commit
c2542eacb0
|
@ -80,3 +80,4 @@ fingerprintAlgorithm = "sha256"
|
|||
# bing = ""
|
||||
# pinterest = ""
|
||||
# yandex = ""
|
||||
# mastodon = ""
|
||||
|
|
|
@ -76,3 +76,4 @@ fingerprintAlgorithm = "sha256"
|
|||
# bing = ""
|
||||
# pinterest = ""
|
||||
# yandex = ""
|
||||
# mastodon = ""
|
||||
|
|
|
@ -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 -->
|
||||
|
||||
## その他の設定ファイル
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -177,6 +177,7 @@ Congo 提供了大量的配置参数,用于控制主题的功能。下表概
|
|||
|`verification.bing`|_未设置_|由 Bing 提供的要包含在站点元数据中的站点验证字符串。|
|
||||
|`verification.pinterest`|_未设置_|由 Pinterest 提供的要包含在站点元数据中的站点验证字符串。|
|
||||
|`verification.yandex`|_未设置_|由 Yandex 提供的要包含在站点元数据中的站点验证字符串。|
|
||||
|`verification.mastodon`|_未设置_|由 Mastodon 提供的要包含在站点元数据中的站点验证字符串。|
|
||||
|
||||
## 其他配置文件
|
||||
|
||||
|
|
|
@ -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 }}
|
||||
|
|
Loading…
Reference in New Issue