A free bakery website template built with Eleventy (11ty) and Nunjucks that publishes as a static site, for independent bakeries, patisseries and cake makers. It covers a menu with prices, sizes and allergens, what is baked on each day with today marked, opening hours with an open-until line, celebration cakes with an enquiry form that knows the notice each size needs, a visit page and an FAQ, all edited in YAML.
by Light CloudFood and drink


Every bakery detail lives in content/: business.yaml for the name, address, phone, hours, getting here and team, menu.yaml for items, prices and allergens, daily-bakes.yaml for what comes out of the oven each day, cakes.yaml for sizes, notice and delivery, and YAML for reviews, the FAQ and the privacy page. src/lib/content.js checks every file at build time, so a price that is not a number, a time written 7.30, a misspelt allergen or a daily bake naming an item not on the menu stops the build with the file and field named. York Artisan Bakery, its team, phone number and prices are made up, and the reviews on the home page are labelled samples to replace with real ones given with your customers' permission. Check every allergen against your own recipes before you publish, and replace the street, bus and parking details, which are plausible but were not checked on the ground. Today and open now use UK time (change TIME_ZONE in src/js/hours.js for a bakery elsewhere), and there are no holiday closures, so for Christmas change the hours and redeploy. The cake form checks notice and closed days only in the visitor's browser, so check the date when you reply to an enquiry.
Deploy this template, then edit the YAML files in content/: your name, address, phone number, opening hours, menu with prices and allergens, what you bake each day and your cake sizes. The site rebuilds on every push, and the build stops with the file and field named if something is wrong.
List them for each item in content/menu.yaml, from the fixed list in the file (wheat, rye, milk, eggs, almonds, sesame and so on). They appear under each item on the menu page and in llms.txt, and a misspelt allergen stops the build so it can never silently disappear.
The cake enquiry form only offers dates with enough notice for the size chosen, on days you are open, and checks delivery postcodes against your area. With nothing set it opens the customer's email app with the enquiry written out; put a Formspree, Basin or similar URL in CAKE_FORM_ENDPOINT to receive enquiries directly.
Yes. Change the menu sections and items, the daily bakes, the cake sizes, wording and photos, and change the JSON-LD type in src/lib/schema.js from Bakery to CafeOrCoffeeShop or another FoodEstablishment.
Yes. Run npm run build and upload _site/ to any static host; every page is a real HTML file, so no SPA fallback is needed. Set the environment variables in the host's build settings.