ExplainedUltimate plan

Custom website files and Liquid

The files of a custom website, the variables, tags and filters you can use in Liquid, and the styling rules for Tailwind and JavaScript.

5 min readRole: Super Administrator or higherBooking websiteUpdated November 24, 2026
Open in the app

This is a reference for building a custom website by hand. Custom websites use Liquid templates, Tailwind CSS and plain JavaScript. If you'd rather not write code, see Build a custom website with an AI tool.

Files

Each file replaces one part of the standard booking site. Parts without a file stay standard.

FileWhat it replaces
layout.liquidThe frame around every page: header, {{ content }}, footer
pages/index.liquidThe home page, /
pages/services.liquid, pages/services/[slug].liquidThe services page and a single service
pages/locations.liquid, pages/locations/[slug].liquidThe locations page and a single location
pages/members.liquid, pages/reviews.liquid, pages/gallery.liquid, pages/about.liquid, pages/login.liquidThose pages
pages/[slug].liquidYour custom pages from Appearance › Custom Pages
pages/careers.liquid, or any other nameA new page at /careers. A title and description at the top set its search engine texts.
components/{name}.liquidA section, like header, footer, hero, about, booking-banner, services, locations, members, reviews, gallery, or your own component
flow.liquidOptional frame around the booking flow and other flows
styles/*.cssYour CSS. Tailwind @apply works.
scripts/*.jsYour JavaScript
theme.jsonFonts, colors and your images

File names use lowercase letters, numbers, dashes and underscores.

Fonts and colors

theme.json with "tokens": "salon" follows your colors and corner radius from Settings › Appearance › Theme. To use your own, set every token: heading and body fonts (Google Fonts), the radius, and every color for light and dark mode as #rrggbb. Missing tokens are listed as errors, and the website can't be published until they're fixed.

Variables

Every page can use your salon's live data. Never type it into the code, so it stays up to date.

VariableWhat it holds
salon, brandYour salon, and its name, logo and tagline
settingsYour settings, for example settings.company.contactDetails.phoneNumber
workingHoursOpening hours, each day with isOpen, isToday and its periods
socialLinksYour social profiles
services, categories, servicesByCategoryYour services, also grouped by category
locations, members, reviews, reviewsOverviewYour locations, team members and reviews
service, location, pageOn a single service, location or custom page
clientThe signed-in client, or nothing
urlsLinks to booking, sign-in, the client's appointments and the standard pages
requestThe current path, language and today's date

Services, locations, members and reviews have a display object with ready-made texts, like service.display.priceText and location.display.directionsUrl.

Tags

TagWhat it does
{% component 'hero' %}Shows a component. Without your own file, a standard section shows the standard design. You can pass values, like {% component 'service-card', service: service %}.
{% native_render 'login' %}Shows a live Softalon part, like login, menu (the mobile menu), account_menu, notifications, services or reviews.
if, for, case, assign, captureStandard Liquid

Filters

FilterExample
money{{ service.price | money }} in your currency
durationMinutes as text, like 1 h 30 min
time, day_nameTimes in your salon's format, day names
booking_url{{ service | booking_url }} opens booking with that service
asset_url{{ 'hero.jpg' | asset_url }} for an uploaded image or video
tSoftalon's texts in the visitor's language, like {{ 'services.title' | t }}
iconA Lucide icon, like {{ 'map-pin' | icon: 'size-4' }}, or a brand logo like {{ 'brand:instagram' | icon }}
rating_stars, starsStar ratings
rich_textBold, italic and line breaks from your texts

Values are HTML-escaped. Add | raw to print HTML, for example for a custom page's content.

Styling and JavaScript

  • Tailwind classes work with your colors, like bg-primary and text-muted-foreground, plus dark:.
  • Write every class in full. A class built from a variable, like bg-{{ color }}, isn't generated. Use an if instead.
  • <script> tags and on… attributes in Liquid files are removed. Put JavaScript in scripts/*.js. It can use window.softalon for availability, booking links, navigation and toasts.
  • Simple interactions need no JavaScript: data-toggle, data-open and data-close open and close an element, styled with open:.
  • A custom header needs a mobile menu, and a custom pages/login.liquid needs {% native_render 'login' %}.
  • Your CSS only styles your own markup, not the live Softalon parts.

When a page fails

If a page can't be shown, for example because of an unknown icon, a missing file or because it takes longer than 1.5 seconds, clients see the standard page instead.

Common questions

In the editor. Every file starts as the standard booking site, so open the part you want to change and edit from there.