tildefriends/apps/blog/app.js
2024-02-24 11:09:34 -05:00

9 lines
157 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();