From d8aa33cd84aaac217a9b9e7b6c4a0c1fa0f02046 Mon Sep 17 00:00:00 2001 From: LarsVomMars Date: Fri, 27 Dec 2024 17:21:54 +0100 Subject: welp --- src/components/HeaderLink.astro | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/components/HeaderLink.astro') diff --git a/src/components/HeaderLink.astro b/src/components/HeaderLink.astro index c53880d..a18dd3c 100644 --- a/src/components/HeaderLink.astro +++ b/src/components/HeaderLink.astro @@ -1,5 +1,6 @@ --- import type { HTMLAttributes } from "astro/types"; +import { SITE_BASE } from "../consts"; type Props = HTMLAttributes<"a">; @@ -10,7 +11,7 @@ const isActive = href === pathname || href === "/" + (subpath?.[0] || ""); --- -- cgit v1.2.3