A free restaurant website template built with Astro and TypeScript that publishes as a static site, for restaurants, cafés and bistros that want their own site. It covers menus with prices and dietary labels, opening hours with an Open now line, booking, private dining enquiries, a gallery and a find-us page, all edited in YAML and Markdown.
by Light CloudFood and drink


Every restaurant fact lives in content/: restaurant.yaml for name, address, hours and booking, one YAML file per menu, and Markdown for the about and private dining pages. Astro content collections check each file against a schema at build time, so a time written as 5.30pm stops the build with the file and field named. The same hours code in src/lib/hours.ts produces the hours table, the structured data and the Open now line, so they never disagree. Start by replacing the demo restaurant in content/restaurant.yaml and the photos in content/images/. It builds with npm run build into dist/, and each push to your copy redeploys, so changing the menu is a commit.
Yes. This Astro template is MIT licensed and includes food and drinks menus with prices and dietary labels, weekly opening hours, holiday closures and an Open now line, all edited in YAML files.
Edit content/menus/a-la-carte.yaml: each dish has a name, an optional description, a price (or prices for several sizes) and dietary labels. The allergens note under every menu comes from allergens in content/restaurant.yaml.
Yes, by linking to a booking provider. Put your OpenTable, ResDiary, SevenRooms or Tock page in booking.url and every Book a table button goes there; without one, the booking page shows your phone number and email.
Set PUBLIC_ENQUIRY_ENDPOINT to a Formspree or similar endpoint and the form posts to it. Without it, the button opens the guest's email app with the enquiry filled in and addressed to eventsEmail.
Yes. Run npm run build and upload dist/ to any static host such as Netlify, Cloudflare Pages, GitHub Pages or nginx, and point the not-found page at dist/404.html. There is no Light Cloud code and no server adapter.