1
0
Fork 0
mirror of https://github.com/chobbledotcom/chobble-template.git synced 2026-01-29 16:29:19 +00:00
The Chobble template - an Eleventy site, built with Nix https://example.chobble.com
  • JavaScript 82.8%
  • HTML 6.8%
  • SCSS 6.2%
  • XSLT 3.9%
  • Nix 0.1%
Find a file
stefan burke e6dd6c822c
Bump eleventy-img to latest commit on no-buffer-in-memcache branch (#913)
Updates from f4d0ce8 to f33b5e2.

https://claude.ai/code/session_01StcAAxvUJgQk6bunsqxc5p

Co-authored-by: Claude <noreply@anthropic.com>
2026-01-29 15:02:02 +00:00
.claude/agents Extract shared js-toolkit package from utility code (#749) 2026-01-19 01:04:05 +00:00
.forgejo/workflows Migrate build and test infrastructure to Bun (#291) 2026-01-03 13:47:00 +00:00
.github Switch test workflow to ubicloud runner (#785) 2026-01-21 05:08:27 +00:00
.zed Add jscpd for copy/paste detection (#51) 2025-11-28 13:53:06 +00:00
bin Profile script and identify performance bottlenecks (#762) 2026-01-20 20:54:05 +00:00
ecommerce-backend Reduce maxAllowedComplexity to 9 and refactor complex functions (#331) 2026-01-04 17:09:06 +00:00
packages/js-toolkit Revert index-based filter storage (keep duplicate items fix) (#903) 2026-01-28 23:01:10 +00:00
screenshots Improve reviews layout design (#742) 2026-01-18 16:46:37 +00:00
scripts Add featured events collection and homepage display (#911) 2026-01-29 13:48:00 +00:00
src no product tile (#912) 2026-01-29 13:56:44 +00:00
test Add featured events collection and homepage display (#911) 2026-01-29 13:48:00 +00:00
.claude.json Add PostToolUse lint hook for Write/Edit operations (#559) 2026-01-09 18:51:27 +00:00
.eleventy.js Enable Liquid template caching (#908) 2026-01-29 06:20:22 +00:00
.envrc Use system nixpkgs 2025-12-11 00:20:24 +00:00
.gitignore Strengthen the types (#706) 2026-01-16 13:58:19 +00:00
.jscpd.json Remove files from jscpd config and test fp setting (#781) 2026-01-21 02:37:00 +00:00
.pages.yml Add featured events collection and homepage display (#911) 2026-01-29 13:48:00 +00:00
biome.json Extract shared js-toolkit package from utility code (#749) 2026-01-19 01:04:05 +00:00
bun.lock Bump eleventy-img to latest commit on no-buffer-in-memcache branch (#913) 2026-01-29 15:02:02 +00:00
bunfig.toml Add non-interactive CLI mode to CMS customisation script (#869) 2026-01-27 14:57:02 +00:00
CLAUDE.md Formalize error handling preferences in documentation (#815) 2026-01-22 13:56:01 +00:00
flake.lock Fix bugs and restore jscpd configuration (#529) 2026-01-07 23:45:12 +00:00
flake.nix Strengthen the types (#706) 2026-01-16 13:58:19 +00:00
knip.json Extract shared js-toolkit package from utility code (#749) 2026-01-19 01:04:05 +00:00
LICENSE Initial commit 2025-03-18 17:36:20 +00:00
package.json Bump eleventy-img to latest commit on no-buffer-in-memcache branch (#913) 2026-01-29 15:02:02 +00:00
README.md Add medwaymascots.co.uk to the links list (#860) 2026-01-27 04:54:28 +00:00
tsconfig.json Add comprehensive tests for test-runner-utils.js (#580) 2026-01-10 03:37:04 +00:00

The Chobble Template

⚠️ Don't forget to change the Formspark and Botpoison info in _data/config.json or in your repository's action secrets ⚠️

See this template in action at:

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

An Eleventy starter for business websites. The GitHub action deploys to both Neocities and Bunny.net - you'll need to edit that for your setup.

Content Types

  • Products - galleries, options with SKUs, FAQs, specifications, features lists, linked reviews with ratings
  • Categories - product groupings with inherited thumbnails
  • Events - one-off and recurring schedules, iCal feed generation
  • News - blog posts with Atom feed
  • Menus - categories, items, pricing, dietary indicators (vegan, gluten-free, etc.)
  • Locations - multi-site support with sub-locations
  • Properties - for holiday lets, linked to locations
  • Reviews - linked to products, aggregate ratings
  • Team - member profiles
  • Snippets - reusable content blocks

Shopping Cart & Payments

  • LocalStorage-based cart with quantity limits
  • Stripe Checkout and PayPal integration
  • Quote/enquiry mode (submit cart as request instead of payment)
  • Optional Express.js backend in ecommerce-backend/ with Docker support
  • Auto-generated SKUs via GitHub Action

Theming

  • 10 pre-built themes: Default, Neon, 90s Computer, Floral, Hacker, Monochrome, Ocean, Old Mac, Rainbow, Sunset
  • Per-page theme overrides
  • Visual theme editor at /theme-editor/ with export
  • CSS custom properties for colours, fonts, borders, layout
  • SCSS support
  • Bunny Fonts integration

Images

  • Responsive images with srcset via eleventy-img
  • Base64 LQIP placeholders
  • Gallery component with thumbnail navigation and full-size overlay
  • Custom aspect ratio cropping

Forms

SEO & Structured Data

  • Schema.org markup for products (with reviews/ratings), events, FAQs, organisation
  • Canonical URLs
  • Sitemap
  • Atom feed with XSL stylesheet
  • Meta descriptions, noindex support

Navigation & Layout

  • Horizontal or left sidebar navigation
  • Sticky mobile nav option
  • Two-column layout with sidebar
  • Slider component for horizontal scrolling
  • Scroll-fade animations (respects prefers-reduced-motion)

Development

  • Nix flakes with direnv support
  • bin/lint - format with Biome
  • bin/screenshot - automated screenshots
  • Biome linting
  • jscpd duplicate detection
  • Knip unused code detection
  • 17+ test files with custom runner
  • instant.page for link prefetching on hover

Deployment

  • GitHub Actions workflow for Neocities and Bunny.net
  • Forgejo Actions support
  • PagesCMS integration for no-code editing
  • Docker support for ecommerce backend

Configuration

  • _data/config.json - Formspark, Botpoison, Stripe, PayPal, map embed, nav options
  • _data/site.json - name, URL, description, social links (14 platforms), opening hours
  • _data/meta.json - language, organisation details for schema.org
  • _data/strings.json - customisable labels and permalink directories

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