diff --git a/src/components/layout/Footer.astro b/src/components/layout/Footer.astro index 927178b..0e352e2 100644 --- a/src/components/layout/Footer.astro +++ b/src/components/layout/Footer.astro @@ -5,6 +5,7 @@ import PageViews from '../PageViews' const pathname = new URL(Astro.request.url).pathname const isBlogPost = pathname.startsWith('/blog/') && pathname !== '/blog' const slug = pathname === '/' ? 'home' : pathname.replace(/^\/|\/$/g, '') +console.log('Slug:', slug) ---