mirror of
https://github.com/chobbledotcom/c-results.git
synced 2026-12-01 05:43:58 +00: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%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
Replace R-J-dev/bunny-deploy, which overwrote files in place in the storage zone and could keep serving stale objects after an upload reported success. The zones are now Bunny Sites, so deploys go into immutable deploys/<id>/ directories and publishing moves the router. The deploy step no longer takes a storage zone password, storage endpoint, pull zone id or replication timeout; the new action authenticates with the account API key and handles publishing and cache invalidation itself. It is skipped when no storage zone name is configured for the branch. |
||
| .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/.