A modern, fast, and SEO-friendly blog template built with SvelteKit, MDSvex, and TailwindCSS. Perfect for developers, writers, and creators looking to build a personal website with a blog.
- 📝 MDSvex for writing blog posts in Markdown with Svelte components
- 🎨 TailwindCSS for styling with typography plugin
- 🔍 SEO optimized with meta tags and structured data
- 📱 Fully responsive design
- 🚀 Fast page loads with SvelteKit
- 📊 Vercel Analytics integration
- 🧪 Testing setup with Vitest and Playwright
- 🏷️ Tag-based categorization for posts
- Click the "Use this template" button on GitHub
- Clone your new repository
- Install dependencies:
npm install
# or
pnpm install
# or
yarn install
- Start the development server:
npm run dev
# or
npm run dev -- --open
- Update
src/variables.ts
with your personal information - Modify the site layout in
src/routes/+layout.svelte
- Update the homepage in
src/routes/+page.svelte
- Add your own blog posts in
src/posts/
Create new .svx
files in the src/posts/
directory. Each post should include frontmatter:
---
title: Your Post Title
description: A brief description of your post
date: 2023-06-15
published: true
tag: svelte
---
Your content here...
# Run unit tests
npm run test
# Run tests in watch mode
npm run test:watch
# Run tests with coverage
npm run test:coverage
# Run end-to-end tests
npm run test:e2e
npm run build
Preview the production build:
npm run preview
This template is optimized for deployment on Vercel, but can be deployed on any platform that supports SvelteKit.
MIT
Created with ❤️ by the SvelteKit community. Based on the original work by Loke.