---
// Import the global.css file here so that it is included on
// all pages through the use of the component.
import '../styles/app.css'
import type { SiteMeta } from '@/types'
import { siteConfig } from '@/site-config'
type Props = SiteMeta
import { ViewTransitions } from 'astro:transitions'
const { articleDate, description, ogImage, title } = Astro.props
const titleSeparator = '•'
const siteTitle = `${title} ${titleSeparator} ${siteConfig.title}`
const canonicalURL = new URL(Astro.url.pathname, Astro.site)
const socialImageURL = new URL(ogImage ? ogImage : '/social-card.png', Astro.url).href
---