How this site is built
A short tour of the stack behind this website — Astro, Markdown, Tailwind CSS — and why it stays static, fast and cheap to run.
- Written by
- Pongpanot Phokrachang
- Published
- Reading time
- 1 min
This website is a personal digital home: a place to introduce myself, keep track of projects and publish what I learn. Before writing anything else, it seemed fair to explain how it works.
The stack
| Part | Choice | Why |
|---|---|---|
| Framework | Astro | Static HTML by default, JavaScript only where it’s needed |
| Content | Markdown and MDX | Plain files in Git, no database |
| Styling | Tailwind CSS | Design tokens in one place |
| Hosting | Vercel or Cloudflare Pages | Free tier is plenty for a static site |
Static first
Every page is rendered to HTML at build time. There’s no server to maintain and no database to back up. The only client-side JavaScript handles the theme switch, the mobile menu and article search.
Keep it simple, purposeful, authentic and easy to maintain.
Writing an article
Publishing is a matter of adding a Markdown file:
---
title: My new article
description: One or two sentences for search results and previews.
pubDate: 2026-12-01
category: SEO & Search
tags: [search, notes]
---
Write here.
Set draft: true to keep a piece out of the production build while you work on it.
Search-friendly by default
Each page gets a unique title, a meta description, a canonical URL and Open Graph tags. Articles also include BlogPosting structured data, and the site publishes an XML sitemap and an RSS feed automatically.