()
| 97 | } |
| 98 | |
| 99 | export async function getAllPostMeta(): Promise<BlogMeta[]> { |
| 100 | return (await scanFrontmatters()).filter((p) => !p.draft) |
| 101 | } |
| 102 | |
| 103 | export const getNavBlogPosts = cache( |
| 104 | async (): Promise<Pick<BlogMeta, 'slug' | 'title' | 'ogImage'>[]> => { |
no test coverage detected