Merge pull request #18 from tmcarmichael/clean-layout-astro

chore: clean up layout astro dead code
This commit is contained in:
Surjith S M
2023-03-06 08:17:37 +05:30
committed by GitHub

View File

@@ -8,14 +8,6 @@ export interface Props {
title: string; title: string;
} }
// const { src } = await getImage({
// src: "../../assets/hero.png",
// width: 800,
// height: 742,
// format: "avif",
// });
// console.log(src);
const canonicalURL = new URL(Astro.url.pathname, Astro.site).toString(); const canonicalURL = new URL(Astro.url.pathname, Astro.site).toString();
const resolvedImageWithDomain = new URL( const resolvedImageWithDomain = new URL(