diff --git a/config/_default/params.toml b/config/_default/params.toml index fe0bc176..410ead95 100644 --- a/config/_default/params.toml +++ b/config/_default/params.toml @@ -80,3 +80,4 @@ fingerprintAlgorithm = "sha256" # bing = "" # pinterest = "" # yandex = "" + # mastodon = "" diff --git a/exampleSite/config/_default/params.toml b/exampleSite/config/_default/params.toml index ad33b74a..a16c69cd 100644 --- a/exampleSite/config/_default/params.toml +++ b/exampleSite/config/_default/params.toml @@ -76,3 +76,4 @@ fingerprintAlgorithm = "sha256" # bing = "" # pinterest = "" # yandex = "" + # mastodon = "" diff --git a/exampleSite/content/docs/configuration/index.ja.md b/exampleSite/content/docs/configuration/index.ja.md index 852bb723..da6f64fe 100644 --- a/exampleSite/content/docs/configuration/index.ja.md +++ b/exampleSite/content/docs/configuration/index.ja.md @@ -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が提供するサイト検証文字列。| ## その他の設定ファイル diff --git a/exampleSite/content/docs/configuration/index.md b/exampleSite/content/docs/configuration/index.md index 3ae0f434..fe0d1d7f 100644 --- a/exampleSite/content/docs/configuration/index.md +++ b/exampleSite/content/docs/configuration/index.md @@ -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.| ## Other configuration files diff --git a/exampleSite/content/docs/configuration/index.zh-cn.md b/exampleSite/content/docs/configuration/index.zh-cn.md index 76f8feb0..3edba2fd 100644 --- a/exampleSite/content/docs/configuration/index.zh-cn.md +++ b/exampleSite/content/docs/configuration/index.zh-cn.md @@ -177,6 +177,7 @@ Congo 提供了大量的配置参数,用于控制主题的功能。下表概 |`verification.bing`|_未设置_|由 Bing 提供的要包含在站点元数据中的站点验证字符串。| |`verification.pinterest`|_未设置_|由 Pinterest 提供的要包含在站点元数据中的站点验证字符串。| |`verification.yandex`|_未设置_|由 Yandex 提供的要包含在站点元数据中的站点验证字符串。| +|`verification.mastodon`|_未设置_|由 Mastodon 提供的要包含在站点元数据中的站点验证字符串。| ## 其他配置文件 diff --git a/layouts/partials/head.html b/layouts/partials/head.html index b364b785..f021126d 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -120,6 +120,9 @@ {{ with .Site.Params.verification.yandex }} {{ end }} + {{ with .Site.Params.verification.mastodon }} + + {{ end }} {{ with $.Params.externalUrl }} {{ end }}