From 5b21f3b3a711038167da6891c3ba9f09ac99d46c Mon Sep 17 00:00:00 2001 From: Joseph Montanaro Date: Sat, 16 Nov 2024 12:37:47 -0500 Subject: [PATCH] fix links for local static files --- src/lib/Link.svelte | 37 ++++++++++++++++++++++++++----------- 1 file changed, 26 insertions(+), 11 deletions(-) diff --git a/src/lib/Link.svelte b/src/lib/Link.svelte index 65882e5..5f6bd48 100644 --- a/src/lib/Link.svelte +++ b/src/lib/Link.svelte @@ -10,20 +10,35 @@ return null; } } + + function ext(url) { + + } - -{#if href.startsWith('/') || host(href) === $page.host} - - - -{:else} - - - -{/if} + + +