Source for rafaelturk.com, built with Astro and served as static files from Cloudflare.
Posts live in src/content/posts/ as Markdown (.md) or MDX (.mdx). The filename is the URL slug (/posts/<filename>).
---
title: "Post title"
description: "One-line summary used for SEO, social cards and RSS"
date: 2026-10-28
draft: true # optional; drafts show in `npm run dev` only
---
Write here.Images go in public/images/<slug>/ and are referenced as /images/<slug>/file.png.
npm install
npm run dev # http://localhost:4321
npm run build # outputs static site to dist/
npm run preview # serve dist/ locallyCloudflare builds from this repo:
- Build command:
npm run build - Output directory:
dist
public/_redirects holds redirects for removed URLs.