--- // Import the global.css file here so that it is included on // all pages through the use of the component. import "../styles/global.css"; import { SITE_AUTHOR, SITE_DESCRIPTION, SITE_TITLE } from "../consts"; import { ClientRouter } from "astro:transitions"; export interface Props { title: string; description?: string; image?: string; keywords?: string[]; } const canonicalURL = new URL(Astro.url.pathname, Astro.site); const { title, description = SITE_DESCRIPTION, image, keywords = [] } = Astro.props; // const socialImage = image ?? Astro.site.href + 'assets/social.png' --- {title} {keywords.length > 0 && } {image && } {image && }