A blog template built with SvelteKit, MDsveX, and Tailwind CSS. Write posts in Markdown with full Svelte component support.
- Fast — SvelteKit with SSG, quick page loads out of the box
- MDsveX — Markdown posts with Svelte components
- Tailwind CSS — Typography plugin for clean post styling
- SEO Optimised — Meta tags, structured data, sitemap, social previews
- Tags — Tag-based post categorisation
- Dark Mode — Light and dark themes
- Analytics — Vercel Analytics integration
- Testing — Vitest and Playwright configured
git clone https://github.com/loke-dev/sveltekit-mdsvex-blog-template my-blog
cd my-blog
pnpm install
pnpm devVisit http://localhost:5173 to see your site.
Create .svx files in src/posts/:
---
title: Your Post Title
description: A brief description of your post
date: 2023-06-15
published: true
tag: svelte
---
Your content here...- Update
src/variables.tswith your information - Customise the layout in
src/routes/+layout.svelte - Modify the homepage in
src/routes/+page.svelte
pnpm test # Unit tests
pnpm test:e2e # End-to-end tests
pnpm test:coverage # Coverage reportWorks on any platform that supports SvelteKit.
MIT
