finds.dev← search

// the find

mdo/jekyll-snippets

★ 540 · MIT · updated Aug 2015

Library of commonly used snippets for Jekyll sites.

A small collection of copy-paste Liquid/Jekyll snippets from the creator of Bootstrap's docs site. It covers the standard blog plumbing: post lists, pagination, reading time, Atom feed. For someone setting up a Jekyll site from scratch in 2015, this would have saved 20 minutes.

Each snippet is a single self-contained HTML file with no dependencies, so you can drop exactly what you need and ignore the rest. The pagination snippet includes the span/anchor/class detail that trip people up the first time. Coming from mdo (Bootstrap author), the patterns reflect real production Jekyll usage, not tutorial-level guesses.

Last touched in 2015 — Jekyll has had multiple major releases since, and the `paginate` plugin alone moved to `jekyll-paginate-v2` with a different config interface. The related-posts snippet uses date proximity, not tags or categories, which is a known Jekyll limitation but isn't called out. There's no Jekyll front matter or `_config.yml` context, so snippets like the Atom feed will silently produce wrong output if your site variables differ. With 21 forks and no activity in 11 years, this is effectively abandoned.

View on GitHub →

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →