A markdown-driven blog built with SvelteKit and Svelte 5. Drop a .md file into posts/ and it shows up on the site, ordered by the date the file was added to git.
cd web
pnpm install
pnpm devThe site runs at http://localhost:5173.
- Create a
.mdfile inposts/. - The filename becomes the URL slug (
posts/hello-world.md->/posts/hello-world). - The first
# headingbecomes the title. - The post date is resolved from frontmatter
date, then the git first-commit date (traced through renames), then filesystem creation time. Touching one file never changes another file's date. - Optional YAML frontmatter for
title,description,category, anddateoverrides the defaults. - Posts are grouped into sections by
categoryon the overview page. Posts without a category default toGeneral.
Files starting with _ or named README.md are ignored by the renderer.
See structure.md for the full project layout and where logic lives.