Why I built this site and how it works.
Welcome to my new site. ๐
This is the first post, and it doubles as a quick note on how the site works.
The site is a small React + Vite app hosted on GitHub Pages. The interesting part
is that posts are not baked into the app. Instead, the markdown for every post lives
in the content/ folder of this same repository and is fetched at runtime.
That means:
content/index.json.function greet(name: string): string {
return `Hello, ${name}!`
}
console.log(greet('World'))
More posts, and a few features for the site itself. Thanks for reading!