tildefriends/apps/blog/app.js
2024-02-23 10:35:39 +01: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();