From 5da91284d3397dd94e71666e6d24bcf4d3d4cf61 Mon Sep 17 00:00:00 2001 From: edo999 Date: Sun, 7 Apr 2024 09:53:54 +0100 Subject: [PATCH] =?UTF-8?q?Get=20that=20Mastodon=20blue=20check=20?= =?UTF-8?q?=F0=9F=94=B5.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/social-icons/index.astro | 6 +++++- src/content/authors/default.mdx | 4 ++-- src/layouts/AuthorLayout.astro | 2 +- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/components/social-icons/index.astro b/src/components/social-icons/index.astro index e7f949f..b082caf 100644 --- a/src/components/social-icons/index.astro +++ b/src/components/social-icons/index.astro @@ -28,9 +28,13 @@ type Props = { const { kind, href, size = 8 } = Astro.props const SocialSvg = components[kind] const sizeClass = size === 8 ? 'size-8' : 'size-6' +let rel = 'noopener noreferrer' +if (kind === 'mastodon') { + rel += ' me' +} --- -{kind} { ) }

{name}