mirror of
https://github.com/ld3z/new-manga.git
synced 2026-11-09 20:43:45 -07:00
there's a limit
This commit is contained in:
parent
71215e4697
commit
3a9bb53ae7
1 changed files with 2 additions and 4 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
import ThemeToggle from '../components/ThemeToggle.astro';
|
import ThemeToggle from '../components/ThemeToggle.astro';
|
||||||
import { inject } from '@vercel/analytics';
|
import Analytics from '@vercel/analytics/astro';
|
||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
title: string;
|
title: string;
|
||||||
|
|
@ -12,9 +12,6 @@ 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';
|
||||||
---
|
---
|
||||||
|
|
@ -105,6 +102,7 @@ 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