johnandersen777.bsky.social/knotless
git that lives in your Atmosphere account
Forked from chadtmiller.com/knotless
0
0
<script lang="ts">
import Icon from '#lib/atoms/Icon.svelte';
import { siteLabel } from '#lib/format.ts';
/** A link off knotless, `link`, called by its title or else by its host and path, a long name cut short with the whole address in its title. */
let { link }: { link: { url: string; title?: string } } = $props();
</script>
<a class="site-link" href={link.url} title={link.url} rel="nofollow noopener ugc"
><Icon name="link" /><span>{link.title || siteLabel(link.url)}</span></a
>