diff --git a/src/components/Footer.astro b/src/components/Footer.astro index 26dbfe6..30ae08f 100644 --- a/src/components/Footer.astro +++ b/src/components/Footer.astro @@ -10,6 +10,10 @@ import NavLink from './NavLink.astro'; GitHub Mastodon Twitter + Analytics diff --git a/src/layouts/BaseLayout.astro b/src/layouts/BaseLayout.astro index 3dbe161..f321c47 100644 --- a/src/layouts/BaseLayout.astro +++ b/src/layouts/BaseLayout.astro @@ -18,7 +18,7 @@ const canonicalURL = new URL(Astro.url.pathname, Astro.site); const actualTitle = title === 'home' ? SITE_TITLE : `${title} | ${SITE_TITLE}`; --- - + @@ -40,6 +40,15 @@ const actualTitle = title === 'home' ? SITE_TITLE : `${title} | ${SITE_TITLE}`; + { + import.meta.env.PROD && ( +