feat: post build script for opengraph

This commit is contained in:
2026-04-25 20:45:20 +02:00
parent 9162c149c4
commit 7885d22194
8 changed files with 124 additions and 21 deletions
+1 -1
View File
@@ -84,7 +84,7 @@ export async function listArticles(): Promise<ArticleMetadata[]> {
return null
}
const date = dateFromParts(match[1], match[2], match[3])
return parseMetadata(data.attributes, key.replace('/index.md', ''), date)
return parseMetadata(data.attributes, key.replace('index.md', ''), date)
}),
)
).filter((item) => item !== null)