mirror of
https://github.com/chobbledotcom/c-results.git
synced 2026-07-12 17:46:32 +01:00
The website for C-Results design and printing, Thornbury
https://www.c-results.uk
- JavaScript 60.3%
- SCSS 20.6%
- HTML 11.6%
- Nix 7.5%
* Add custom product at /hidden-custom-product/ Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Ntqhr4xTkKVrSyMK4QL69b * Pin CI tooling to last known-good versions The build broke because pnpm/action-setup and setup-node used 'version: latest' / 'node-version: latest', which pulled pnpm 11 (now a hard error on unapproved build scripts: ERR_PNPM_IGNORED_BUILDS) and Node 26. The last green build (2026-04-23) used pnpm 10.33.2 and Node 25.9.0, where the ignored build scripts were only a warning. Pin pnpm to 10.33.2, Node to 25.9.0, and all GitHub Actions to the commit SHAs from that green run for reproducible builds. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Ntqhr4xTkKVrSyMK4QL69b --------- Co-authored-by: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .github/workflows | ||
| .image-cache | ||
| _data | ||
| _includes | ||
| _layouts | ||
| assets | ||
| categories | ||
| css | ||
| images | ||
| pages | ||
| products | ||
| reviews | ||
| scripts | ||
| snippets | ||
| .envrc | ||
| .gitignore | ||
| .pages.yml | ||
| flake.lock | ||
| flake.nix | ||
| package.json | ||
| pnpm-lock.yaml | ||
| README.md | ||
Chobble Client Site Builder
Quick static site generator that combines the Chobble Template with your content.
Quick Start
- Add your content - Edit markdown files and images in the relevant folders
- Push to GitHub - The site builds automatically via GitHub Actions
- Deploy happens automatically - Site deploys to Neocities (or your chosen host)
What Goes Where
The .pages.yml defines all your content types:
pages/- Static pages with navigationnews/- Blog posts with datesproducts/- Shop items with prices and Etsy linkscategories/- Product categoriesteam/- Team member profilesreviews/- Customer testimonialsevents/- Upcoming eventsmenus/,menu-categories/,menu-items/- Restaurant menu systemsnippets/- Reusable content bitsimages/- All your images
How It Works
When you push to GitHub:
- GitHub Actions merges your content with the template
- Builds the static site with Eleventy
- Deploys to your configured hosting (Neocities by default)
Configuration
Set these GitHub secrets for your repo:
NEOCITIES_API_KEY- For deploymentFORMSPARK_ID- For contact forms (optional)BOTPOISON_PUBLIC_KEY- For spam protection (optional)
Local Development
Run ./bin/build to build locally. The output appears in result/.