diff --git a/src/components/external-link.astro b/src/components/external-link.astro index be40781..791f7d8 100644 --- a/src/components/external-link.astro +++ b/src/components/external-link.astro @@ -2,21 +2,21 @@ import type { HTMLAttributes } from "astro/types"; interface Props extends HTMLAttributes<"a"> { - cssClass: string; - href: string; - title: string; + /** Whether this link should use defaults for external links. */ + external?: boolean | null | undefined; } -const { cssClass, href, title } = Astro.props; +const { class: className, external, href, target, title, rel } = Astro.props; --- diff --git a/src/pages/index.astro b/src/pages/index.astro index 5486838..320875c 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -33,9 +33,10 @@ import BaseLayout from "../layouts/BaseLayout.astro";
  • @kmoschcau:matrix.org @@ -43,9 +44,10 @@ import BaseLayout from "../layouts/BaseLayout.astro";
  • kmoschcau @@ -53,9 +55,10 @@ import BaseLayout from "../layouts/BaseLayout.astro";
  • kmoschcau @@ -63,9 +66,10 @@ import BaseLayout from "../layouts/BaseLayout.astro";
  • kmoschcau @@ -73,9 +77,10 @@ import BaseLayout from "../layouts/BaseLayout.astro";
  • Keyoxide