From 201bdec77d15582a25c7737e3eb308c481ef78b1 Mon Sep 17 00:00:00 2001 From: coliff Date: Thu, 19 Jun 2025 14:46:51 +0900 Subject: [PATCH] docs: swap X to Mastodon --- website/astro.config.mjs | 13 ++++++++++--- website/src/content/docs/index.mdx | 4 ++-- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/website/astro.config.mjs b/website/astro.config.mjs index ca255b92a..ed8a22f23 100644 --- a/website/astro.config.mjs +++ b/website/astro.config.mjs @@ -28,9 +28,9 @@ export default defineConfig({ href: 'https://github.com/htmlhint/htmlhint', }, { - icon: 'x.com', - label: 'x', - href: 'https://x.com/htmlhint', + icon: 'mastodon', + label: 'Mastodon', + href: 'https://mastodon.social/@htmlhint', }, { icon: 'openCollective', @@ -102,6 +102,13 @@ export default defineConfig({ content: 'light dark', }, }, + { + tag: 'meta', + attrs: { + name: 'fediverse:creator', + content: '@htmlhint@mastodon.social', + }, + }, ], sidebar: [ { diff --git a/website/src/content/docs/index.mdx b/website/src/content/docs/index.mdx index e2d2646c7..fd2ecdb94 100644 --- a/website/src/content/docs/index.mdx +++ b/website/src/content/docs/index.mdx @@ -1,8 +1,8 @@ --- title: Welcome to HTMLHint -description: The web's most popular Static code analysis tool you need for your HTML. Available as a CLI tool, VS Code extension, and more. +description: The web's most popular static code analysis tool you need for your HTML. Available as a CLI tool, VS Code extension, and more. hero: - tagline: The web's most popular Static code analysis tool you need for your HTML + tagline: The web's most popular static code analysis tool you need for your HTML image: file: ../../assets/img/htmlhint.webp actions: