A free hotel website template built with Astro and TypeScript that publishes as a static site, for small and boutique hotels, guest houses and B&Bs. It covers a page per room type with its price, a booking form that hands over to your booking engine or email, breakfast and the bar, offers with promo codes, location, policies and an FAQ, all edited in Markdown and YAML.
by Light CloudHospitality and travel


Every guest-facing detail lives in content/: hotel.yaml for the name, address, check-in times, booking link and amenities, one Markdown file per room type with its price, sleeps, size and bed, and YAML for breakfast and the bar, directions, offers, policies, the FAQ and photo alt text, all checked against schemas at build time. The booking form fills placeholders such as {arrive}, {depart}, {adults}, {room} and {promo} into your booking engine's deep link, which has only been tested with a made-up link format, so check it with a real booking before you go live. The site has no availability or payment of its own: live prices and availability come from your booking engine, or the request goes by email. The policies page includes Edinburgh's 5% Visitor Levy, checked on the council's website in November 2026; delete that section or replace it with your own area's tourist tax if you are not in Edinburgh, and rewrite the cancellation terms, charges and data notice, which are example text. Edinburgh Old Town Hotel, its rooms, prices and phone number are made up, and the photos are Unsplash stock to replace with your own rooms. It needs Node.js 22.23 or later because Astro 7 does, and builds into dist/.
Deploy this template, then edit the files in content/: your hotel's details, a file per room type with its price and photo, breakfast, directions, offers, policies and questions. Each file is plain text with comments, and the site rebuilds from them.
Yes. With no booking engine link set, the booking form checks the dates and guests and opens the guest's email app with a booking request filled in, and your phone number sits next to it. Add your engine's link later and the same form sends guests straight to it.
Put your booking engine's deep link in PUBLIC_BOOKING_URL or booking.url in content/hotel.yaml, with placeholders such as {arrive}, {depart}, {adults} and {promo} where the values go. The form fills them in from what the guest chose; test it with a real booking, because only a made-up link format has been tried.
Not on its own. The site is static and shows from-prices per night; live availability, rates and payment come from your booking engine, which the booking form opens with the guest's dates filled in.
A Hotel node with the address, phone, check-in and check-out times, amenities and pets policy; a HotelRoom for each room type with occupancy, size and bed; an Offer with the price per night; plus FAQPage and BreadcrumbList. This template builds all of them from the content files.