
RIP Norm ❤️
norm-has-a-blog is a simple, static, and zero config blog built with SvelteKit. It's designed for developers who want to save and share the stuff they're discovering(but can be used by anyone for anything).
This blog comes packed with powerful features out of the box:
Before you begin, ensure you have the following installed on your system:
📚 For a comprehensive guide, check out the Getting Started Guide with detailed setup, configuration, and deployment instructions.
Clone/fork this repository.
git clone https://github.com/ahampriyanshu/norm-has-a-blog.git my-new-blog
cd my-new-blog
Install dependencies:
yarn
yarn dev
Open http://localhost:5173 in your browser.
Build the static site:
yarn build
Preview the production build:
yarn preview
Edit src/lib/config.ts to customize your blog:
export const siteConfig = {
title: 'Your Blog Title',
description: 'Your blog description',
author: 'Your Name',
url: 'https://yourdomain.com',
subPath: '/your-subdirectory',
lang: 'en',
social: {
github: 'yourusername',
twitter: 'yourusername',
email: '[email protected]',
rss: true
},
theme: 'light'
};
.md file in the src/posts directoryThis blog can be deployed to any static hosting service. But it's recommended to use GitHub Pages for free hosting. In order to deploy to GitHub Pages:
https://<username>.github.io/<repository-name>.Note: If required, you can add CNAME record to use custom domain.
The theme uses SCSS for styling. Main styles are in src/lib/styles/louie.scss.
CSS variables control the theme colors:
:root:root[data-mode='dark']Create Svelte components in src/lib/components/ and import them where needed.
src/routes/+layout.sveltesrc/routes/blog/[slug]/+page.sveltesrc/lib/layouts/This project is licensed under the MIT License - see the LICENSE file for details.
If you encounter any issues or have questions, please open an issue on GitHub.
Contributions are welcome! Please feel free to submit a Pull Request.