This is a from-scratch static blog (HTML/CSS/JS) inspired by Lilian Weng’s Lil’Log (https://lilianweng.github.io). No frameworks, no build step.
index.html: Home + latest postsabout/,archives/,tags/,search/,faq/: Core pagesposts/<slug>/index.html: Post pagesassets/style.css,assets/main.js,assets/posts-index.js: Styles, behavior, and post metadata
Option 1: Open index.html directly in your browser (works; search uses inlined index via JS).
Option 2: Serve over HTTP (recommended for consistent relative links):
cd /Users/tingxuanhuang/Desktop/blog
python3 -m http.server 1313
# open http://localhost:1313- Create a new folder
posts/my-new-post/withindex.htmlcontent. - Add its metadata to
assets/posts-index.js(title, description, date, url, readingTime, tags).
Upload the folder to any static host (GitHub Pages, Netlify, Vercel, S3 + CloudFront, etc.).
Design inspiration: Lil’Log (https://lilianweng.github.io).