diff --git a/apps/site/src/layouts/Base.astro b/apps/site/src/layouts/Base.astro index e3bfb90..e26b205 100644 --- a/apps/site/src/layouts/Base.astro +++ b/apps/site/src/layouts/Base.astro @@ -3,6 +3,7 @@ import "@fontsource-variable/fraunces"; import "@fontsource-variable/newsreader"; import "@fontsource/jetbrains-mono"; import "../styles/global.css"; +import { copyrightYearRange } from "../lib/copyright-year"; import { siteConfig } from "../site.config"; interface Props { @@ -14,6 +15,7 @@ interface Props { const { title, description, wide = false } = Astro.props; const metaDescription = description ?? siteConfig.description; const currentPath = Astro.url.pathname; +const copyrightRange = await copyrightYearRange(); --- @@ -131,7 +133,7 @@ const currentPath = Astro.url.pathname;