Files
rgebee-info/src/routes/+page.ts
Chris Dill 97eb93d3af
All checks were successful
Build / build (push) Successful in 17s
Initial commit
2025-12-14 19:51:17 +00:00

11 lines
223 B
TypeScript
Executable File

import type { PageLoad } from './$types';
import { getBlogCollection } from '../app'
export const load: PageLoad = async ( fetch ) => {
let posts = (await getBlogCollection()).slice(0, 5);
return {
posts,
};
};