Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/edde746/sveltekit-markdown-blog

Static SvelteKit blog with markdown support
https://github.com/edde746/sveltekit-markdown-blog

blog markdown static-site sveltekit

Last synced: 22 days ago
JSON representation

Static SvelteKit blog with markdown support

Awesome Lists containing this project

README

        

# sveltekit-markdown-blog

A simple blog that statically generates from markdown files. Built with [SvelteKit](https://kit.svelte.dev/).

## Demo

[**View a live demo here**](https://blog-demo-cy4.pages.dev/)

## Features

- Fully static
- Markdown files
- Dark mode

## Running Locally

```
# Clone the repository
git clone https://github.com/edde746/sveltekit-markdown-blog.git

# Navigate to the project directory
cd sveltekit-markdown-blog

# Install dependencies with pnpm
pnpm install

# Run the development server
pnpm run dev

# Generate the static site
pnpm run build
```

## Adding Posts

To add a new post, create a markdown file in the `posts` directory. The file should have the following front matter at the top:

```md

```

## Deploying

To deploy your blog, you can simply upload the contents of the `build` directory to your web server. Alternatively, you can use a static site hosting service such as [Cloudflare Pages](https://pages.cloudflare.com/).

## License

Use it however you want.