Skip to content

Commit

Permalink
fix missing rel=me
Browse files Browse the repository at this point in the history
  • Loading branch information
fennifith committed Aug 11, 2024
1 parent 6122761 commit b756bc7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/components/base/Button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ interface Props extends PropsWithChildren {
variant?: "primary" | "secondary";
class?: string;
onclick?: string;
rel?: string;
}

export function Button({ as = "button", variant, children, ...props }: Props) {
Expand Down
2 changes: 1 addition & 1 deletion src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const allBlogPosts = (await getCollection('blog')).slice(-3);

<ul class="links">
<li>
<ButtonLink href={links.mastodon}>
<ButtonLink href={links.mastodon} rel="me">
Mastodon
</ButtonLink>
</li>
Expand Down

0 comments on commit b756bc7

Please sign in to comment.