website/src/routes/+page.server.ts
2024-11-03 18:20:30 +01:00

16 lines
353 B
TypeScript
Executable File

import type { PageServerLoad } from "./$types";
import { announcements } from "../stores";
import { get } from "svelte/store";
export const load = (async () => {
const meta = {
title: "Home",
description: "Open-source development and hosted services."
};
return {
announcements: get(announcements),
...meta
};
}) satisfies PageServerLoad;