Static site for fun-pro.uk, built with Eleventy.
- Add your content - Edit markdown files and images under
src/ - Push to GitHub - The site builds automatically via GitHub Actions
- Deploy happens automatically - Site deploys to Bunny CDN
All site content lives under src/. The .pages.yml defines content types
exposed via the CMS:
src/pages/- Static pages with navigationsrc/news/- Blog posts with datessrc/products/- Product listingssrc/categories/- Product categoriessrc/team/- Team member profilessrc/reviews/- Customer testimonialssrc/events/- Eventssrc/locations/- Service locationssrc/case-studies/- Case studiessrc/snippets/- Reusable content bitssrc/images/- All site images
The following GitHub secrets are used by the build:
BUNNY_*- Bunny CDN deployment credentialsFORMSPARK_ID- Contact form provider (optional)BOTPOISON_PUBLIC_KEY- Spam protection (optional)
bun install
bun run serve # dev server with incremental rebuilds
bun run build # production build into ./_site
bun run test # run the test suiteA Nix flake is provided for a reproducible dev shell:
nix develop