tildefriends/apps/blog/app.js

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();