add opengraph meta tags

This commit is contained in:
2023-09-24 13:29:35 -07:00
parent 15ab47f4d8
commit 859c34fd82
5 changed files with 11 additions and 7 deletions

View File

@ -1,5 +1,6 @@
export async function load({ data }) {
let post = await import(`./_posts/${data.slug}.svx`);
post.metadata.slug = data.slug;
post.metadata.next = data.next;
return {
post: post.default,