--- import '../styles/global.css'; import Navigation from '../components/Navigation.astro'; import OpenSourceBanner from '../components/OpenSourceBanner.astro'; import Footer from '../components/Footer.astro'; import type { SponsorType } from '../components/Sponsor/Sponsor.astro'; import Sponsor from '../components/Sponsor/Sponsor.astro'; import YouTubeBanner from '../components/YouTubeBanner.astro'; import { siteConfig } from '../lib/config'; import Analytics from '../components/Analytics/Analytics.astro'; export interface Props { title: string; description?: string; keywords?: string[]; noIndex?: boolean; permalink?: string; sponsor?: SponsorType; jsonLd?: Record; } const { title = siteConfig.title, description = siteConfig.description, keywords = siteConfig.keywords, noIndex = false, permalink = '', sponsor, jsonLd, } = Astro.props; // Remove trailing slashes to consider the page as canonical const currentPageAbsoluteUrl = `https://roadmap.sh${permalink}`; const commitUrl = `https://github.com/kamranahmedse/developer-roadmap/commit/${import.meta.env.GITHUB_SHA}`; --- {title} {noIndex && } {jsonLd &&