tildefriends/apps/blog/app.js
2023-12-09 20:25:49 +00:00

8 lines
156 B
JavaScript

import * as blog from './blog.js';
async function main() {
let blogs = await blog.get_posts();
await app.setDocument(blog.render_html(blogs));
}
main();