--- import ThemeToggle from '../components/ThemeToggle.astro'; import Analytics from '@vercel/analytics/astro'; import { getRandomBackground } from '../config/backgrounds'; interface Props { title: string; description?: string; } const { title, description = "Discover and track your favorite comics with ComicK-RSS" } = Astro.props; const background = getRandomBackground(); const canonicalURL = new URL(Astro.url.pathname, Astro.site ?? 'https://comick-rss.vercel.app').toString(); const isCreditsPage = Astro.url.pathname === '/credits'; --- {title} {!isCreditsPage && (
)}