mirror of
https://github.com/ld3z/new-manga.git
synced 2026-11-09 21:03:45 -07:00
woops
This commit is contained in:
parent
9f4ec3d3fd
commit
71215e4697
1 changed files with 4 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
import ThemeToggle from '../components/ThemeToggle.astro';
|
import ThemeToggle from '../components/ThemeToggle.astro';
|
||||||
import { Analytics } from '@vercel/analytics/react';
|
import { inject } from '@vercel/analytics';
|
||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
title: string;
|
title: string;
|
||||||
|
|
@ -12,6 +12,9 @@ const {
|
||||||
description = "Discover and track your favorite comics with ComicK-RSS"
|
description = "Discover and track your favorite comics with ComicK-RSS"
|
||||||
} = Astro.props;
|
} = Astro.props;
|
||||||
|
|
||||||
|
// Initialize analytics
|
||||||
|
inject();
|
||||||
|
|
||||||
const canonicalURL = new URL(Astro.url.pathname, Astro.site ?? 'https://comick-rss.vercel.app').toString();
|
const canonicalURL = new URL(Astro.url.pathname, Astro.site ?? 'https://comick-rss.vercel.app').toString();
|
||||||
const isCreditsPage = Astro.url.pathname === '/credits';
|
const isCreditsPage = Astro.url.pathname === '/credits';
|
||||||
---
|
---
|
||||||
|
|
@ -102,7 +105,6 @@ const isCreditsPage = Astro.url.pathname === '/credits';
|
||||||
<main id="main-content" class="transition-opacity duration-300">
|
<main id="main-content" class="transition-opacity duration-300">
|
||||||
<slot />
|
<slot />
|
||||||
</main>
|
</main>
|
||||||
<Analytics />
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue