diff --git a/.gitignore b/.gitignore index a36eac2..6d4c0aa 100644 --- a/.gitignore +++ b/.gitignore @@ -4,9 +4,6 @@ dist/ # generated types .astro/ -# wrangler output -.wrangler/ - # dependencies node_modules/ diff --git a/.idea/mercury.iml b/.idea/mercury.iml index 39cd9a1..6deb029 100644 --- a/.idea/mercury.iml +++ b/.idea/mercury.iml @@ -6,7 +6,6 @@ - diff --git a/src/config.ts b/src/config.ts index c45b1c5..c5618a8 100644 --- a/src/config.ts +++ b/src/config.ts @@ -78,13 +78,6 @@ export const siteConfig = { instanceDomain: '', } }, - // umami analytics - // by enabling this, you can track the visitors of your site - umami: { - enabled: false, // enable umami analytics - instanceDomain: 'cloud.umami.is', // the url of the umami script, usually your-umami-instance.com (default: official cloud.umami.is) - websiteId: 'your-website-id', // the id of your website in umami, get it from your umami dashboard - }, // neko // by enabling this, you can add a neko that follows cursor to your site // this will load script from webneko.net diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index 7847a12..f402f64 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -18,7 +18,6 @@ interface Props { } const noscript = siteConfig.noClientJavaScript -const umami = siteConfig.umami const defaultTitle = siteConfig.title const formattedRootPath = defaultTitle.toLowerCase().replace(/\s+/g, '-'); @@ -76,7 +75,6 @@ const { title = pageTitle, author = siteConfig.defaultAuthor.name,description =

Powered by mercury

- {umami.enabled && } { (siteConfig.neko.enabled && !noscript) && <>