Loading.....
`);
const { items } = await Posts.suList().fetch();
ctx.res.write(/* HTML */ ` -
${items.map((item) => renderItem(item)).join("")}
import { Context } from "koa"; import { Mountable } from "@sealcode/sealgen"; import Router from "@koa/router"; import { sleep } from "../util"; import { CollectionItem } from "sealious"; import { Posts } from "../collections/collections"; import { getMOTD } from "./motd.post"; export const actionName = "ssr2"; async function footer() { return /* HTML */ `
`; } function navbar() { return /* HTML */ ` `; } function sidebar() { return /* HTML */ ` `; } function renderItem(item: CollectionItem${item.get("description")}