Skip to content

chobble-mirror/chobble-template

Repository files navigation

The Chobble Template

⚠️ Don't forget to change the Formspark and Botpoison info in _site/data.json!! ⚠️ or in your Forgejo repository's secrets

See this template in action at:

Want a website based on this template? Clone this repo, or hit me up at Chobble.com.

This should let you get started with the Eleventy static site builder on NixOS / Nix, really easily.

Featuring common business website features like:

And Nix'y features like:

  • direnv support via flake.nix - run direnv allow
  • or run nix develop if you don't have direnv
  • nix-build support using flake-compat
  • serve shell script to run Eleventy and SASS locally
  • build shell script to build the site into _site

And Eleventy features like:

  • Canonical URLs
  • A directory to store favicon cruft
  • A _data/site.json metadata store
  • A collection.images collection of the files in src/images

And quality of life features like:

  • Linting with Biome
  • Tidy HTML output from Prettier
  • CSS bundling (but not in dev)
  • Instant page navigation from Turbo

Want a website based on this template? Clone this repo, or hit me up at Chobble.com.

About

The Chobble template - an Eleventy site, built with Nix

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published