Giter Site home page Giter Site logo

eleventyworkshop's Introduction

eleventy-chirpy-blog-template

Github Workflow Netlify Status

11ty version of the popular Chirpy Jekyll blog theme. Also powers my personal blog. I liked the UX a lot, but not the tech stack, hence I re-built it for myself. Sharing here with everybody, in case you like the same.

You can check out the live version on https://eleventy-chirpy-blog-template.netlify.app.

If you want to deploy, there's a button for it: Deploy to Netlify

Features

  • ๐Ÿ’ฏ on Lighthouse
  • ๐Ÿ”† and ๐ŸŒ› mode
  • ๐ŸŽฏ SEO and OpenGraph optimized
  • ๐ŸŒ„ Responsive images optimization
  • ๐Ÿ‘€ Accessible
  • ๐Ÿ›  JavaScript and CSS build optimization
  • ๐Ÿ‘จโ€๐Ÿ’ป Prism-based syntax highlighting
  • ๐Ÿ“š RSS (yup, still a thing), sitemap.xml, and JSON-LD
  • ๐Ÿ” Algolia Search enabled
  • and more

Opinionated setup with Prettier, ESlint, markdownlint and others. UX build with Nunjucks and TailwindCSS. JavaScript bundled with Rollup.

Configuration

All blog configuration is handled via siteconfig.js. Everything is inline documented.

Deployment

All build processes rely on how NODE_ENV is set. For production builds, which then also means minified CSS and JS you've to set the value to production. I mention this explicitly as this is for some vendors not the default.

If you want to speed up your build times a bit you can add the generated images to your git repo. The .gitignore already contains a commented section for that.

Local Development

Before you install dependencies

This repo uses Volta. Get it, and it'll make your node life so much easier.

Instructions

Clone this repository.

git clone https://github.com/muenzpraeger/eleventy-chirpy-blog-template

Change into the cloned directory.

cd eleventy-chirpy-blog-template

Install dependencies. Note, if you prefer npm over yarn make sure to first remove the yarn.lock file, and then run npm install.

yarn install

Start the local development process.

yarn dev

Open the page, usually on http://localhost:8080, and dig around!

Credits

The UX of this template is based on the popular Chirpy template, just with a different tech stack. If you prefer to run Jekyll and Bootstrap, checkout Chirpy here. It's great.

Also big thanks to the the authors of the 11ty High Performance Blog.

eleventyworkshop's People

Contributors

dependabot[bot] avatar saksham-13 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.