From eedb814199201256b8f6caa2b937fba1c98d8b00 Mon Sep 17 00:00:00 2001 From: May Meow <3164256+MayMeow@users.noreply.github.com> Date: Wed, 9 Oct 2024 00:26:42 +0200 Subject: [PATCH 1/4] Add fediverse attribution --- config/_default/params.toml | 1 + layouts/partials/head.html | 3 +++ 2 files changed, 4 insertions(+) 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/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" . }} From 22999a341b1642ae6edf51f14454c638744b5c42 Mon Sep 17 00:00:00 2001 From: May Meow <3164256+MayMeow@users.noreply.github.com> Date: Tue, 22 Oct 2024 22:09:41 +0000 Subject: [PATCH 2/4] Update docs --- exampleSite/content/docs/configuration/index.md | 1 + 1 file changed, 1 insertion(+) diff --git a/exampleSite/content/docs/configuration/index.md b/exampleSite/content/docs/configuration/index.md index 57c4c9b9..89647f8a 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 Mastodon handle to be include in the site metadata. Include server domain iin user name e.g. `@you@instanceaddress.tld` | ## Other configuration files From ad81bcc034db98a92ae857d853b8479b3a9d1a6b Mon Sep 17 00:00:00 2001 From: May Meow <3164256+MayMeow@users.noreply.github.com> Date: Tue, 22 Oct 2024 22:12:45 +0000 Subject: [PATCH 3/4] Clarification of description for fedi verification --- exampleSite/content/docs/configuration/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exampleSite/content/docs/configuration/index.md b/exampleSite/content/docs/configuration/index.md index 89647f8a..4fc97fed 100644 --- a/exampleSite/content/docs/configuration/index.md +++ b/exampleSite/content/docs/configuration/index.md @@ -357,7 +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 Mastodon handle to be include in the site metadata. Include server domain iin user name e.g. `@you@instanceaddress.tld` | +| `verification.fediverse` | _Not set_ | The Mastodon handle to include in the site metadata. Include the server domain in the username, e.g. `@you@instanceaddress.tld` | ## Other configuration files From 2a6078588bb95f0f9008b2a09beb1217012b88c6 Mon Sep 17 00:00:00 2001 From: May Meow <3164256+MayMeow@users.noreply.github.com> Date: Fri, 25 Oct 2024 21:16:24 +0000 Subject: [PATCH 4/4] Update description --- exampleSite/content/docs/configuration/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exampleSite/content/docs/configuration/index.md b/exampleSite/content/docs/configuration/index.md index 4fc97fed..391d746e 100644 --- a/exampleSite/content/docs/configuration/index.md +++ b/exampleSite/content/docs/configuration/index.md @@ -357,7 +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 Mastodon handle to include in the site metadata. Include the server domain in the username, e.g. `@you@instanceaddress.tld` | +| `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