A minimalist, feature-rich blog platform built with SvelteKit that renders content from Markdown files.
.
āāā assets # Project screenshots/assets
āāā src
ā āāā lib # Shared utilities and components
ā āāā posts # Markdown blog posts
ā āāā routes # SvelteKit routes (pages and API endpoints)
ā āāā app.css # Global styles
āāā static # Static assets served as-is
Clone this repository
git clone https://github.com/yourusername/turing-blog.git
cd turing-blog
Install dependencies
pnpm install
Start the development server
pnpm dev
Open your browser and navigate to http://localhost:5173
Create a new Markdown file in the src/posts
directory:
---
title: My New Post
description: A brief description of the post
date: '2025-04-08'
categories:
- tutorial
- javascript
published: true
---
# Table of Contents
## Introduction
Your content here...
## Code Example
```js
console.log('Hello, world!');
pnpm build
The build output will be in the .svelte-kit/output
directory.
pnpm preview
The blog can be configured by editing the src/lib/config.ts
file:
export const title = "Turing";
export const description = "A blog for programmers in Sveltekit";
export const url = dev ? "http://127.0.0.1:5173" : "your-production-url.com";
This project can be deployed to any platform that supports SvelteKit, such as:
This project is licensed under the MIT License - see the LICENSE file for details.