About
SvelteKit Blog Starter
A opinioned Markdown blog starter built with SvelteKit, MDSveX, Tailwind CSS and DaisyUI.
Put your Markdown docs in the /posts
directory. The route for the
post is determined from the containing folder.
So this file structure:
this-project-directory/
├─ copy/
│ └─ a-post-about-bread/
│ └─ index.md
Will give this route: posts/a-post-about-bread
.
Good to note if you want to include local images in your posts.
Give them the frontmatter:
---
date: 2021-09-17
title: Hello world!
published: true
---
Thanks
Heavily inspired from Mehdi Vasigh’s sveltekit-mdsvex-blog and Matt Jennings’s sveltekit-blog-template.
Also this solution from Michael Oliver on this issue.
Uses: