Fix canonical for post

This commit is contained in:
prototypa
2022-08-17 22:51:58 -04:00
parent 6fe52f1261
commit 7570c4f45a

View File

@ -18,7 +18,7 @@ const { post } = Astro.props;
const title = `${post.title} — ${SITE.name}`; const title = `${post.title} — ${SITE.name}`;
const description = post.description; const description = post.description;
const canonical = new URL(`blog/${post.slug}/`, Astro.site); const canonical = new URL(`blog/${post.slug}`, Astro.site);
const images = import.meta.glob("../../assets/images/*"); const images = import.meta.glob("../../assets/images/*");