From abce0c7e4b8f94cc14caa662fd3f56396ee8b154 Mon Sep 17 00:00:00 2001 From: edo999 Date: Tue, 12 Nov 2024 18:12:52 +0000 Subject: [PATCH] Add rel=me to all social icon links. --- src/components/social-icons/index.astro | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/components/social-icons/index.astro b/src/components/social-icons/index.astro index 955a14b..356fab4 100644 --- a/src/components/social-icons/index.astro +++ b/src/components/social-icons/index.astro @@ -30,10 +30,7 @@ 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' -} +let rel = 'noopener noreferrer me' ---