Cedric Wang

cedwang.dev

A static, blog-first personal site built with SvelteKit and Markdown. It keeps projects, writing, and social links on one small, fast site.

Write and publish

The site statically generates the home page, /blog/, /projects/, individual pages, and sitemap.xml when you build.

Development

npm install
npm run dev
npm run check
npm run build

Sharing

Every page includes canonical, Open Graph, and X/Twitter metadata. The default share card is static/images/social-card.jpg (1200 × 627). Replace it—or add an appropriate socialImage in entry frontmatter—when publishing real work.

Deployment

Pushes to main trigger the GitHub Actions workflow (.github/workflows/deploy.yml), which builds the static site and deploys it to GitHub Pages. The site is served from the custom domain cedwang.dev, so the owner must set that as the Custom domain in the repo’s Pages settings and point the domain’s DNS records at GitHub Pages.

License

MIT