diff --git a/config/_default/params.toml b/config/_default/params.toml index d15943ef..523a019a 100644 --- a/config/_default/params.toml +++ b/config/_default/params.toml @@ -159,3 +159,4 @@ forgejoDefaultServer = "https://v8.next.forgejo.org" # bing = "" # pinterest = "" # yandex = "" + # fediverse = "" diff --git a/exampleSite/content/docs/configuration/index.md b/exampleSite/content/docs/configuration/index.md index 57c4c9b9..391d746e 100644 --- a/exampleSite/content/docs/configuration/index.md +++ b/exampleSite/content/docs/configuration/index.md @@ -357,6 +357,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.fediverse` | _Not set_ | The fediverse handle to include in the site metadata. Include the server domain in the username, e.g. `@you@instanceaddress.tld`. | ## Other configuration files diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 87255a22..43635eba 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -101,6 +101,9 @@ {{ with .Site.Params.verification.yandex }} {{ end }} + {{ with .Site.Params.verification.fediverse }} + + {{ end }} {{/* Social */}} {{ template "_internal/opengraph.html" . }} {{ template "_internal/twitter_cards.html" . }}