Live version: https://sveltekit-blog.netlify.app
npm i
npm run dev
Runs a development server on http://localhost:3000.
npm run build
Builds the project into the build
folder.
npm run preview
Runs the built project on http://localhost:3000.
/src/routes/posts/ --> The folder where your posts are located.
All other directories should be in the SvelteKit docs.
"slug" is the link your post will be on ex: https://example.com/blog/my-first-post.
"title", "summary" and "author" should be self explanatory.
"date" is the date your post was published in. Nearly all date formats work.
"published" is a boolean. If true the post will display otherwise it will stay unpublished and not accessible anywhere outside the source code.
This project is licensed under the Unlicense aka public domain.