How this site gets built
This site has no framework. One Vite plugin generates every page at build time.
The flow
- Read the Markdown under
content/and split off the front matter (title, date, summary). - Convert the body to HTML.
- Feed each language into template functions to produce the
/ko/…,/ja/…, and/en/…pages. - If a post has no translation, fill in another language's version and add a notice.
A template is a pure function from data to an HTML string. The dev server reruns it on every request, and the build runs the same function once and writes the files out.
Why do it this way
A framework felt like too much for a site with a handful of posts. And building it yourself lets you see what a static site generator actually does.