diff --git a/src/components/Head.astro b/src/components/Head.astro index 3ff747e..6b648c0 100755 --- a/src/components/Head.astro +++ b/src/components/Head.astro @@ -4,9 +4,10 @@ interface Props { description: string; } -const canonicalURL = new URL(Astro.url.pathname, Astro.site); +import { SITE_TITLE, SITE_DESCRIPTION } from "../consts"; -const { title, description } = Astro.props; +const canonicalURL = new URL(Astro.url.pathname, Astro.site); +const page = Astro.url.pathname --- @@ -28,21 +29,21 @@ const { title, description } = Astro.props; -{title} - - +{SITE_TITLE} {page} + + - - + + - - + +