···11---
22+import { ClientRouter } from "astro:transitions";
33+24// Import the global.css file here so that it is included on
35// all pages through the use of the <BaseHead /> component.
44-import '../styles/global.css';
66+import "../styles/global.css";
5768interface Props {
77- title: string;
88- description: string;
99- image?: string;
99+ title: string;
1010+ description: string;
1111+ image?: string;
1012}
11131214const canonicalURL = new URL(Astro.url.pathname, Astro.site);
13151414-const { title, description, image = '/blog-placeholder-1.jpg' } = Astro.props;
1616+const { title, description, image = "/blog-placeholder-1.jpg" } = Astro.props;
1517---
16181719<!-- Global Metadata -->
···2123<meta name="generator" content={Astro.generator} />
22242325<!-- Font preloads -->
2424-<link rel="preload" href="/fonts/atkinson-regular.woff" as="font" type="font/woff" crossorigin />
2525-<link rel="preload" href="/fonts/atkinson-bold.woff" as="font" type="font/woff" crossorigin />
2626+<link
2727+ rel="preload"
2828+ href="/fonts/atkinson-regular.woff"
2929+ as="font"
3030+ type="font/woff"
3131+ crossorigin
3232+/>
3333+<link
3434+ rel="preload"
3535+ href="/fonts/atkinson-bold.woff"
3636+ as="font"
3737+ type="font/woff"
3838+ crossorigin
3939+/>
26402741<!-- Canonical URL -->
2842<link rel="canonical" href={canonicalURL} />
···4559<meta property="twitter:title" content={title} />
4660<meta property="twitter:description" content={description} />
4761<meta property="twitter:image" content={new URL(image, Astro.url)} />
6262+6363+<ClientRouter />
+1
src/layouts/BlogPost.astro
···11---
22import type { CollectionEntry } from "astro:content";
33+34import BaseHead from "../components/BaseHead.astro";
45import Header from "../components/Header.astro";
56import ImageContainer from "../components/ImageContainer.astro";