---
import { config } from "../../config";
interface Props {
title: string;
description: string;
image?: string;
}
let canonicalURL: URL | undefined = undefined;
try {
canonicalURL = new URL(Astro.url.pathname, Astro.site);
} catch (error) {
// console.error(error);
}
const { title, description, image = "main.png" } = Astro.props;
---
{config.SITE_FAVICON ? (