---
interface Props {
title?: string;
description?: string;
image?: string;
}
const { title, description, image } = Astro.props as Props;
const site = Astro.site;
const canonical = new URL(Astro.url.pathname, site).toString();
const ogTitle = title ?? 'Skiddle@web ~';
const ogDesc = description ?? "I'm a software developer passionate about JavaScript and open protocols, creating better information ecosystems.";
const ogImage = image ?? '/android-chrome-512x512.png';
const absOgImage = /^https?:\/\//i.test(ogImage) ? ogImage : new URL(ogImage, site).toString();
---