mirror of
https://github.com/chobbledotcom/chobble-template.git
synced 2025-08-18 00:19:51 +00:00
The Chobble template - an Eleventy site, built with Nix
https://example.chobble.com
.forgejo/workflows | ||
.github | ||
.zed | ||
bin | ||
screenshots | ||
src | ||
test | ||
.eleventy.js | ||
.envrc | ||
.gitignore | ||
.pages.yml | ||
biome.json | ||
flake.lock | ||
flake.nix | ||
LICENSE | ||
package-lock.json | ||
package.json | ||
README.md | ||
sizes-validator.html |
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:
- example.chobble.com (hosted on Neocities)
- example-pgs.chobble.com (hosted on Pico.sh)
- tradesperson-example.chobble.com (example builder site)
- example-bunny.chobble.com (example builder site, hosted on Bunny.net)
Want me to make you a website based on this template? Hit me up at chobble.com.
💖 Want to support the development of this template? 💖 Donate at liberapay.com/chobble
This should let you get started with the Eleventy static site builder on NixOS / Nix, really easily.
Featuring common business website features like:
- News
- Reviews
- Products
- Categories
- Galleries
- Team members
- Menus
- A contact form using Formspark and Botpoison
- Heading images
- Customisable strings
- Responsive images with
srcset
, base64 low quality placeholders, optional custom cropping
And Nix'y features like:
- direnv support via
flake.nix
- rundirenv allow
- or run
nix develop
if you don't have direnv nix-build
support usingflake-compat
serve
shell script to run Eleventy and SASS locallybuild
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 insrc/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.