diff options
| author | Kyren223 <Kyren223@proton.me> | 2024-11-13 00:00:30 +0200 |
|---|---|---|
| committer | Kyren223 <Kyren223@proton.me> | 2024-11-13 00:00:30 +0200 |
| commit | 5f18abf234a80b45ed6d1fd935c2f60b2599b87f (patch) | |
| tree | bb341343cc7b6aec1b71d73e264412bf07029346 /src/components/Link.astro | |
| parent | 6d3da9537200e4029d3c9e1b6140f601642f26da (diff) | |
Finished /blogs yay
Diffstat (limited to 'src/components/Link.astro')
| -rw-r--r-- | src/components/Link.astro | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/components/Link.astro b/src/components/Link.astro index 72a0e0a..e8396ec 100644 --- a/src/components/Link.astro +++ b/src/components/Link.astro @@ -1,12 +1,12 @@ --- interface Props { - href: string; - newTab?: boolean; + href: string; + newTab?: boolean; } const { href, newTab = true } = Astro.props; --- <a href={href} {...newTab && { target: "_blank", rel: "noopener noreferrer" }}> - <slot /> + <slot /> </a> |
