tildefriends/apps/blog/app.js

8 lines
156 B
JavaScript
Raw Permalink Normal View History

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