mirror of
https://github.com/chobbledotcom/c-results.git
synced 2026-01-05 04:51:14 +00:00
The website for C-Results design and printing, Thornbury
https://www.c-results.uk
| .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/.