Skip to content
This repository has been archived by the owner on Sep 21, 2024. It is now read-only.

Static blog template with easy configuration and built-in local image processing.

License

Notifications You must be signed in to change notification settings

rarechrisclark/11ty-blog-starter

Repository files navigation

Rare - Blog Starter

This repository was initially intended for my personal website, but I have since transitioned to using Vitepress for my blog.

Despite this, I decided to make the repository public to support open-source learning. Enjoy exploring the code and features!

Rare Blog Starter

Technologies Used

Features

  • Fast Build: Assets are built in under 10 seconds... nice!
  • Browser Friendly: Four hundos lighthouse score
  • Theme Switcher: Light/Dark/System theme switcher based on Alberto Roura's guide.
  • Minimal Vanilla JS: Focus on minimal JavaScript usage.
  • Optimized Images: Image processing and rendering with srcset for fast loading.
  • Markdown Processing: Using Markdown IT for .md file processing.
  • Pagination and Breadcrumbs: For better navigation.
  • Local Search: Indexed by [MiniSearch](https://github.com/micpst/minisearch.

Local Development

  1. Clone the repository
git clone https://github.com/rarechrisclark/rare-blog-starter.git
cd rare-blog-starter
  1. Install dependencies
npm install
  1. Start the local development server
npm run dev
  1. Access the server: The development server will be running at http://localhost:8080.

Note:

  • The 11ty configuration is located in the ./config directory for better organisation
  • The site metadata can be modified in the ./src/_data/meta.js
  • The final built assets will be stored in ./_site

Deployment

This project is set up to be built and hosted as a static site. Recommended hosting services include Cloudflare Pages, GitHub Pages, or AWS S3.

  1. Build the static assets
npm run build
  1. Deploy the built assets to your chosen hosting service.
  2. Have fun with it x

Resources

Site Inspiration

Helpful Links

About

Static blog template with easy configuration and built-in local image processing.

Topics

Resources

License

Stars

Watchers

Forks