Mat: yoga teachers and studios website template
An app template for a yoga studio: students book a mat in class from their phone (the teacher confirms, or puts them on the waitlist when the room is full), show a code at the door to check in, and see how many classes their pass has left this month. Drop-in, Four a month or Unlimited. A public page with the week's classes and passes, six member screens under /app and a privacy notice with blanks.
Built from: Pages · Lists · Sign-in: users · Actions: pay, scan
To use it, paste this into your AI chat:
Use template pagelemon.com/tp/Mat
Who it suits
Made for: yoga teachers and studios, pilates and dance teachers who sell class packs, small studios with a weekly timetable, yoga studio app, class pack and drop-in, studio class check-in, pilates class pass, dance class booking, weekly class attendance. In the gallery under Membership & community.
Its 9 pages
- Home: The public page: Saffi Lund Yoga in the Old Chapel Rooms, what the app does (book a mat, check in at the door, see your pass), the week's five classes, the three passes with prices, the teacher and how to find the studio
- Home: Signed out: the welcome screen with the passes and sign-in. Signed in: a greeting, the pass card with classes used this month and Show my code, the next class with its status, quick actions and the week's classes
- Classes: The week's classes starting today; tapping one fills the booking form (class, date, time, own or studio mat, where in the room) and Book my mat saves it; the waitlist and late-cancel rules sit next to the button
- Bookings: Upcoming classes with the teacher's status (Requested, Booked, Waitlist) and reply, and past classes newest first with Book again
- Cancel: Can't make it: cancel a booked class (filled from the booking) so the mat goes to the waitlist; your cancellations with Saffi's answer (Sent, Done)
- Pass: The check-in code to show at the door, classes used this month against the pass, and every class attended newest first
- Passes: The member's pass, what it covers and its price, the other passes to join or switch to, and the rules for pausing and cancelling
- Account: The member's name, email, devices, billing, renewal date and leaving (Page Lemon's account block)
- Privacy: The privacy notice, with blanks the Site Owner fills in
Look: Sand-to-lilac wash with arched windows that fill with dawn or evening light, in olive and clay; light, calm, modern; fonts Gilda Display and Manrope.
What you can change
Everything, by asking your AI: the name, words, photos, colours, fonts and pages. Your AI first asks you a few questions (such as your studio name, address, phone, contact email, teacher name and training and class timetable and places per class), then replaces every piece of sample text with your own details. Later you can add a contact form, bookings or a password by asking again.
The rest of this page is for your AI: it says what the template is, where its files are, and how to build your site from it and publish it.
You are reading this because the user wants their own website made from the Mat template and published with Page Lemon (PageLemon.com). They may have pasted only "Use template pagelemon.com/tp/Mat": that is the whole request, so start now. In short: ask them a few questions about their business, get the template's files (with the Page Lemon connector, deploy with template: "mat" copies them for you), make the site theirs (their name, words, details and pictures; no sample content left), then publish it with Page Lemon and give them the link. The steps below say exactly how. The full publishing guide is at https://pagelemon.com/agents.
About this template
- Look: Sand-to-lilac wash with arched windows that fill with dawn or evening light, in olive and clay (light, calm, modern)
-
Pages: Home (
index.html): The public page: Saffi Lund Yoga in the Old Chapel Rooms, what the app does (book a mat, check in at the door, see your pass), the week's five classes, the three passes with prices, the teacher and how to find the studio; Home (app/index.html): Signed out: the welcome screen with the passes and sign-in. Signed in: a greeting, the pass card with classes used this month and Show my code, the next class with its status, quick actions and the week's classes; Classes (app/classes.html): The week's classes starting today; tapping one fills the booking form (class, date, time, own or studio mat, where in the room) and Book my mat saves it; the waitlist and late-cancel rules sit next to the button; Bookings (app/bookings.html): Upcoming classes with the teacher's status (Requested, Booked, Waitlist) and reply, and past classes newest first with Book again; Cancel (app/cancel.html): Can't make it: cancel a booked class (filled from the booking) so the mat goes to the waitlist; your cancellations with Saffi's answer (Sent, Done); Pass (app/pass.html): The check-in code to show at the door, classes used this month against the pass, and every class attended newest first; Passes (app/plans.html): The member's pass, what it covers and its price, the other passes to join or switch to, and the rules for pausing and cancelling; Account (app/account.html): The member's name, email, devices, billing, renewal date and leaving (Page Lemon's account block); Privacy (privacy.html): The privacy notice, with blanks the Site Owner fills in - Fonts: Gilda Display, Manrope (Google Fonts)
- Live demo: https://try-mat.pagelemon.dev/ (a working copy with sample data; people opening https://pagelemon.com/tp/Mat in a browser land there). The template's own files: https://pagelemon.com/templates/mat/; the page about it: https://pagelemon.com/tp/Mat/use
- Manifest: https://pagelemon.com/templates/mat/template.json (machine-readable: files, customise, facts, interview)
Files
With the Page Lemon connector you don't need to fetch these: deploy with template: "mat" copies them all (step 2). Otherwise fetch each file from https://pagelemon.com/templates/mat/ and save it with the same relative path (including art/). Fetch nothing else: templates have no external images or scripts.
- https://pagelemon.com/templates/mat/index.html
- https://pagelemon.com/templates/mat/privacy.html
- https://pagelemon.com/templates/mat/app/index.html
- https://pagelemon.com/templates/mat/app/classes.html
- https://pagelemon.com/templates/mat/app/bookings.html
- https://pagelemon.com/templates/mat/app/cancel.html
- https://pagelemon.com/templates/mat/app/pass.html
- https://pagelemon.com/templates/mat/app/plans.html
- https://pagelemon.com/templates/mat/app/account.html
- https://pagelemon.com/templates/mat/styles.css
- https://pagelemon.com/templates/mat/site.js
- https://pagelemon.com/templates/mat/kit.css
- https://pagelemon.com/templates/mat/kit.js
- https://pagelemon.com/templates/mat/kit-icons.svg
- https://pagelemon.com/templates/mat/site.webmanifest
- https://pagelemon.com/templates/mat/favicon.svg
- https://pagelemon.com/templates/mat/og.png
- https://pagelemon.com/templates/mat/apple-touch-icon.png
- https://pagelemon.com/templates/mat/icon-192.png
- https://pagelemon.com/templates/mat/icon-512.png
- https://pagelemon.com/templates/mat/icon-512-maskable.png
- https://pagelemon.com/templates/mat/art/chapel-room.svg
- https://pagelemon.com/templates/mat/art/class-lunch.svg
- https://pagelemon.com/templates/mat/art/class-vinyasa.svg
- https://pagelemon.com/templates/mat/art/class-slow-flow.svg
- https://pagelemon.com/templates/mat/art/class-yin.svg
- https://pagelemon.com/templates/mat/art/class-saturday.svg
Notes for Mat (its customise rules)
- Saffi Lund Yoga, its address, phone, email and teacher in the header, footer, titles and copy: replace every data-pl-fill fact with the owner's own. Replace the name in site.webmanifest too.
- Fill in every highlighted blank on privacy.html before students join (not legal advice: https://pagelemon.com/agents/member-app-legal).
- Make the bookings and cancellations lists (with status_options and reply) and the attendance list with its scan actions (one check-in per class, so the pass shows which class) exactly as memberApp.lists and memberApp.scan say. Keep the class names and times on app/classes.html, app/cancel.html, index.html, the lists' options and the scan labels the same.
- Set the passes with save_plan: dropin (free; students pay at the door), fourclass and monthly at the owner's prices, and change the prices on index.html, app/index.html and app/plans.html together. Call setup_app with signup "open" and the name profile field, so the teacher sees the student's name when they scan.
- The teacher answers bookings in the Dashboard (Apps, Entries): Booked, Waitlist, Attended or Cancelled, with a short reply the student reads on app/bookings.html; a cancellation request is answered by setting the booking to Cancelled and the request to Done. Page Lemon does not count mats or enforce the Four a month allowance: app/classes.html shows classes left this month, and the teacher decides.
- Whoever scans at the door needs Scan users: invite them with add_people and that permission only.
- A yoga studio app only: never add health, injury, body measurement, payment card, bank or ID fields, and never collect anything about under-18s.
- Colours: Edit the --k-brand, --k-hero and --k-gold tokens at the top of styles.css; light and dark follow the device.
- Fonts: Gilda Display and Manrope, loaded from Google Fonts on every page; your AI can self-host them on request.
- Sections: Public: index.html. Member pages under /app use the shared app kit (kit.css, kit.js, kit-icons.svg: never edit them) and site.js (class dates, class pictures, the booking summary). On app/classes.html each class is one link with data-day, data-class and data-time.
- Images: art/chapel-room.svg is the app welcome picture (1200×1260), not the public hero, which is drawn as a chapel window;the five art/class-*.svg are the class pictures (600×600). Replace them with the studio's own photos at the same sizes (WebP under 300 KB), never a stranger's face.
Set up the app
This is an app template: the home page and privacy notice are public, and the pages under /app are for signed-in users, each seeing only their own entries and the entries the Site Owner assigns to them. Users sign in with a code sent to their email. The full guide is https://pagelemon.com/agents/member-app; read it before you set this up, and its legal notes at https://pagelemon.com/agents/member-app-legal.
-
Needs: a kept site on App or above, and the Site Owner signed in to Page Lemon with two-step sign-in (they turn the app on themselves, at the approve link
setup_appreturns). - Never: health, mood or therapy records, accounts for children, or fields for card, bank or ID numbers (Acceptable Use: https://pagelemon.com/acceptable-use#member-app). Users pay through Stripe.
-
Then:
setup_appwith these settings, the join questions and note in the user's own words, thensave_app_listonce for each list below, exactly as written, so the field names match the pages.{"site":"<site>","signup":"open","profile_fields":[{"name":"name","type":"text","label":"Your name","required":true}],"display_field":"name","path":"/app"} -
Class bookings (
bookings): users add these rows themselves on the pages.{"site":"<site>","list":"bookings","label":"Class bookings","fields":[{"name":"class","type":"choice","label":"Class","required":true,"options":["Lunchtime Flow","Vinyasa","Morning Slow Flow","Yin & Breath","Saturday Flow"]},{"name":"date","type":"date","label":"Date","required":true},{"name":"time","type":"choice","label":"Time","required":true,"options":["07:00","09:30","12:30","19:00","19:30"]},{"name":"mat","type":"choice","label":"Mat","required":true,"options":["I'll bring my own","Borrow a studio mat"]},{"name":"spot","type":"choice","label":"Where in the room","options":["Anywhere","By the windows","Near the front","At the back"]},{"name":"message","type":"text","label":"Note for Saffi"}],"status_options":["Requested","Waitlist","Booked","Attended","Cancelled"],"reply":true} -
Cancellations (
cancellations): users add these rows themselves on the pages.{"site":"<site>","list":"cancellations","label":"Cancellations","fields":[{"name":"class","type":"choice","label":"Class","required":true,"options":["Lunchtime Flow","Vinyasa","Morning Slow Flow","Yin & Breath","Saturday Flow"]},{"name":"date","type":"date","label":"Date","required":true},{"name":"time","type":"choice","label":"Time","required":true,"options":["07:00","09:30","12:30","19:00","19:30"]},{"name":"message","type":"text","label":"A note for Saffi"}],"status_options":["Sent","Done","Counted as a class"],"reply":true} -
Classes attended (
attendance): the Site Owner adds these rows in the Page Lemon Dashboard (Apps tab) and assigns each to one user, who only reads it.{"site":"<site>","list":"attendance","label":"Classes attended","fields":[{"name":"class_name","type":"text","label":"Class","required":true}]} -
Plans (
save_plan; the pages usedata-pl-if="plan:<id>"and join buttons):dropin"Drop-in" (free);fourclass"Four a month" (paid, sample price 42.00 GBP a month; ask the user for theirs);monthly"Unlimited" (paid, sample price 58.00 GBP a month; ask the user for theirs). Paid plans need Starter or Scale and the Site Owner's Stripe account connected;save_planreturns the onboarding link if it isn't.
Build the site, step by step
-
Interview first. Ask the user these questions, a few at a time, in plain words, and collect every fact the site needs (studio name, address, phone, contact email, teacher name and training, class timetable and places per class, pass names and prices, privacy contact and address). If they can't answer one, remove that element rather than inventing it.
- What is your studio called, and where is it?
- Which classes do you teach each week, and at what times?
- Which passes do you sell, and what does each cost a month or a class?
- How many mats does each class have, and what happens when a class is full?
- Who scans students in at the mat? Each needs a Page Lemon sign-in: invite them as collaborators with only Scan users ticked.
- Which email address and phone number should students use?
- What address and privacy contact should the privacy notice show?
-
Get the files. If you have the Page Lemon tool (the MCP connector with a
deploytool; https://pagelemon.com/docs/connect sets it up), calldeploywithtemplate: "mat"(no files): Page Lemon copies every file above on its side and returnssite,revisionand, without an account,site_token. Read each page you will change withget_siteandpath, make the changes below, then publish only the changed files withdeploy,site,base_revision(that revision) andpatch: true; show the link only after that. Without the tool, fetch the files listed above. If you cannot fetch files either, ask the user for what you need and rebuild the pages from the live demo as closely as you can. -
Make it the user's site. Follow
customiseintemplate.json:-
Replace every element marked
data-pl-fill(names, phone, email, address, hours, prices, people, dates, links, stats) on every page, then remove the attributes. Never ship adata-pl-filldefault. The sample town, street and people's names also appear in ordinary sentences,aria-labels and imagealttext: replace them there too. Name, address and phone must match exactly in the footer, the visit or contact page and the JSON-LD. -
Sample reviews (
data-pl-fill="review") are fictional: delete them unless the user gives you real ones. Delete each whole review, with its name or caption, and the section and its nav link when none is left. Never invent reviews, numbers or awards. -
Update each page's
<title>, meta description, canonical,og:urlandog:imageto the user's real address, and the JSON-LD block on the home page (type, name, address,geocoordinates (delete them unless you have the real ones), hours, phone,url). -
Photos: this template is drawn art, not photos. If the user wants their own photos, add them where they fit (compressed, WebP or JPEG under about 300 KB, real
alt). Ask for photos; never hot-link. -
Make a new
og.png(1200×630) of the new home page if you can, with itsog:imagetags; otherwise delete the sample one and itsog:imagetags (a template deploy has already left both out). Change colours only through the:roottokens instyles.css, fonts through the font tokens and the<link>that loads them. Google Fonts is fine, but it sends each visitor's IP address to Google, so the privacy-friendly choice is to self-host the font files (woff2) in the site folder with@font-face, or use system fonts. - Delete pages or sections the user doesn't need (and their nav links) rather than leaving them generic. Keep the layout, type scale and signature interaction: they are what makes it look designed.
-
Remove the
<!-- Page Lemon template ... -->comment.
-
Replace every element marked
-
Forms and bookings. Templates have no fake forms. Each
data-pl-slotshows a fallback that works today (call, email, or the Site Owner's own booking or payment link: ask for it). The designed form sits next to it in an inert<template data-pl-slot-form="<id>">;template.json.slotssays which page has which. When the user wants the real thing (Forms and Booking: any paid plan; staff and rooms only on some, and each plan has a limit of online bookings a day), set the form up as a list (save_list) or the service (save_service), put the matching markup in the slot (reuse the template's form classes so it matches), delete the fallback and the<template>, and copy the paragraph from<template data-pl-privacy="forms">intoprivacy.html. -
Check before publishing:
-
Search every file for
data-pl-fill, the template's fictional business name and its sample phone, email and street, in links too (tel:andmailto:hrefs, and map links, where the street is written like18+Linden+Walk): none left. - All links between pages work; nav and footer are the same on every page.
- Body text contrast at least 4.5:1, large text and buttons 3:1, after any colour change.
- No horizontal scroll at 320 px; headlines still fit on a phone after copy changes.
-
One
h1per page, a unique<title>and meta description per page, alt text on meaningful images. - Copy sounds like the user, not like an AI (see https://pagelemon.com/guides/website-copy-that-doesnt-sound-like-ai).
-
Search every file for
- Publish with Page Lemon (below; with the tool, the patch deploy from step 2 is the publish), then tell the user which template you used and that they can keep changing the site, or add bookings and forms, by asking.
-
Turn on the app as "Set up the app" above says:
setup_app, thensave_app_listfor each list,save_planfor each plan, the approve link to the Site Owner,invite_users, a test withpreview_as_userandget_appwithcheck: truebefore you say it's ready.
Publish with Page Lemon
Pick the first route you can use:
-
You can run shell commands: build if needed, then upload only the folder with
index.html(dist/,build/,out/…). Never upload source code,.envfiles or keys: everything you upload becomes public. (at most 100 files and 1 MB in all,index.htmlat the root):
If the user gave you an API key (node -e 'const fs=require("fs"),p=require("path"),d=process.argv[1],files=[];(function w(x){for(const e of fs.readdirSync(x,{withFileTypes:true})){const f=p.join(x,e.name);e.isDirectory()?w(f):files.push({path:p.relative(d,f).split(p.sep).join("/"),content_base64:fs.readFileSync(f).toString("base64")})}})(d);console.log(JSON.stringify({files}))' <dir> \ | curl -sS --fail-with-body -H "Content-Type: application/json" --data-binary @- https://api.pagelemon.com/v2/anonymous-sitesplak_…) or~/.config/pagelemon/credentialsexists, publish into their account instead (see "Updating a site" in https://pagelemon.com/agents). If.pagelemon.jsonexists, the site is already published: see "Updating a site" in https://pagelemon.com/agents. -
You have the Page Lemon MCP connector (
https://mcp.pagelemon.com/mcp): call itspublish_sitetool with every file. See "No shell: the MCP connector" in https://pagelemon.com/agents. -
Neither (a chat app without the Page Lemon connector): say once that they can connect Page Lemon to this AI app (steps at https://pagelemon.com/docs/connect) so you can publish and change the site for them. In the Gemini app or Grok (free plan included) it takes about a minute: Gemini at gemini.google.com/customize/connectors (Custom), Grok at grok.com/connectors (New Connector, Custom), with the link
https://mcp.pagelemon.com/mcp; then they sign in and click Allow. Give those steps in plain words. If they can't or would rather not (for example ChatGPT's free plan), don't ask them to save or upload files. Put the whole site in ONE complete page: CSS and JavaScript inline, images as https links or small data URIs, from<!DOCTYPE html>to</html>. Show it as one code block, then tell them: "Tap Copy on the code, open pagelemon.com/publish, tap Paste and publish." Only if you can really give them a downloadable .zip (a file they tap to download, not code to save): "Download this zip, open pagelemon.com/publish, tap Drop or choose a file." They get a live link with no account, online for 72 hours unless they tap Keep it free. Don't say you can't help.
Then:
-
Pass on
agent_messagefrom the response in full, success or failure, in the user's language and your own words. It has the link, the expiry time, the private keep link and the terms line: copy every link, code, number, date and domain exactly, and never drop a link, deadline or the terms line (keep both its links). If it asks a question, ask it and wait. Times in it are UTC;*_atfields have them in ISO, so you can give the user's local time. -
On success, save
.pagelemon.jsonin the project folder and add it to.gitignore(see https://pagelemon.com/agents). - Offer to help keep the site (see "Keeping the site" in https://pagelemon.com/agents). Sites published without an account go offline after 72 hours unless the user keeps them with a free account.
By publishing, the user agrees to the Terms (https://pagelemon.com/terms) and Privacy Policy (https://pagelemon.com/privacy). The agent_message includes this line; keep it.
More: https://pagelemon.com/agents (full guide: updating a site, keeping it, custom domains, plugins). All templates: https://pagelemon.com/templates/index.json.