Commons
A bright restaurant group system with rounded poster type, cut-paper illustrations, an enhanced locations index and three individually accented restaurants.
To use it, paste this into your AI chat:
Use template pagelemon.com/tp/Commons
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 Commons template and published with Page Lemon (pagelemon.com). They may have pasted only "Use template pagelemon.com/tp/Commons": 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: "commons" 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: Bright neighbourhood print (light, bold, modern)
-
Pages: Home (
index.html): Shared-table hero, brand story, location teasers, seasonal dish and careers invitation; Locations (locations.html): Town / city and open-now filters enhance a complete static location index; Commons Harbour (location-harbour.html): Distinct accent, setting, hours, address, map, access, parking, menu link and booking slot; Commons Market (location-market.html): Distinct accent, setting, hours, address, map, access, parking, menu link and booking slot; Commons Mill (location-mill.html): Distinct accent, setting, hours, address, map, access, parking, menu link and booking slot; Menu (menu.html): HTML food and drinks menu, prices, dietary tags, allergen guidance and Sunday roast; About (about.html): Group story, milestones, team portraits and kitchen principles; Careers (careers.html): Job openings, pay, benefits, hiring FAQs and email enquiry slot - Fonts: Bowlby One SC, Rethink Sans (Google Fonts)
-
Colours:
--bg#f5faf7,--ink#272b24,--yellow#c5e7d8,--harbour#b9e5d9,--market#ffac91,--mill#c7d4fa - Live demo: https://pagelemon.com/templates/commons/ (people can preview it with the Page Lemon bar at https://pagelemon.com/tp/Commons/preview)
- Manifest: https://pagelemon.com/templates/commons/template.json (machine-readable: files, customise, slots, facts, interview)
How the visuals were made
Location scenes, dish and staff portraits are simple SVG files in art/: flat peach, butter-yellow, mint and cream shapes with thick dark outlines, storybook style. No CSS gradients or animation; art stands in for venue and team photos.
To sketch similar art: "Draw a cheerful flat SVG market hall in peach, butter yellow and mint with thick charcoal outlines, a yellow sun and simple bunting."
Files
With the Page Lemon connector you don't need to fetch these: deploy with template: "commons" copies them all (step 2). Otherwise fetch each file from https://pagelemon.com/templates/commons/ and save it with the same relative path (including art/). Fetch nothing else: templates have no external images or scripts.
- https://pagelemon.com/templates/commons/index.html
- https://pagelemon.com/templates/commons/locations.html
- https://pagelemon.com/templates/commons/location-harbour.html
- https://pagelemon.com/templates/commons/location-market.html
- https://pagelemon.com/templates/commons/location-mill.html
- https://pagelemon.com/templates/commons/menu.html
- https://pagelemon.com/templates/commons/about.html
- https://pagelemon.com/templates/commons/careers.html
- https://pagelemon.com/templates/commons/404.html
- https://pagelemon.com/templates/commons/privacy.html
- https://pagelemon.com/templates/commons/styles.css
- https://pagelemon.com/templates/commons/script.js
- https://pagelemon.com/templates/commons/favicon.svg
- https://pagelemon.com/templates/commons/og.png
- https://pagelemon.com/templates/commons/apple-touch-icon.png
- https://pagelemon.com/templates/commons/art/dish.svg
- https://pagelemon.com/templates/commons/art/harbour.svg
- https://pagelemon.com/templates/commons/art/ida.svg
- https://pagelemon.com/templates/commons/art/kitchen.svg
- https://pagelemon.com/templates/commons/art/market.svg
- https://pagelemon.com/templates/commons/art/mill.svg
- https://pagelemon.com/templates/commons/art/nell.svg
- https://pagelemon.com/templates/commons/art/rafi.svg
- https://pagelemon.com/templates/commons/art/shared-table.svg
Notes for Commons (its customise rules)
- Replace every data-pl-fill fact, including metadata and JSON-LD. Fictional group: Commons; locations: Commons Harbour, Commons Market and Commons Mill.
- Keep each location name, address, telephone and hours identical in its page, shared footer and JSON-LD.
- Update locations.html data-location and data-schedule alongside its visible hours; Sunday is array index 0, closed days use null, other days use [opening, closing] in minutes after midnight.
- Update script.js time zone if outside the UK. Open-now uses the restaurant opening hours, not table availability.
- Replace menu details, allergens, service charge, access, parking, biographies, dates and hiring facts with verified owner facts.
- Colours: Edit the labelled :root tokens in styles.css; keep dark olive text on pale accents. The .harbour, .market and .mill classes share structure but choose different accents.
- Fonts: Bowlby One SC 400 and Rethink Sans 400/600/800: four font files, two families. Update the font link in all ten pages and the two root font tokens together.
- Sections: Keep the three unique booking slots and careers form inert until plugins are connected. Preserve working tel/mailto fallbacks, no-JS location index, details mobile menu and end booking CTA. The owner-requested group has eight content pages plus privacy and 404.
- Images: Replace shared-table.svg with a sharing-table photograph, panoramic 1600×700; harbour.svg, market.svg and mill.svg with restaurant exteriors 1600×1000; dish.svg with an overhead seasonal dish 1000×1000; kitchen.svg with a team kitchen scene 1600×1000; nell.svg, rafi.svg and ida.svg with team portraits 800×1000. Use WebP under 300 KB, preserve dimensions and data-pl-photo. Keep favicon.svg. Pipeline generates og.png and apple-touch-icon.png.
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 (name, phone, email, address, hours, menu names and prices, dietary suitability and allergens, team members, dates, pay and benefits, access and parking, coordinates, service charge). If they can't answer one, remove that element rather than inventing it.
- What is the restaurant group called?
- What are the names and full addresses of each restaurant?
- What are the opening and kitchen hours at each location?
- Which phone number should each restaurant use for bookings?
- What dishes, drinks, prices and dietary tags belong on the menu?
- Who are the team members shown on the about page?
- Which vacancies and contact email should the careers page publish?
-
Get the files. If you have the Page Lemon tool (the MCP connector at https://mcp.pagelemon.com, with a
deploytool), calldeploywithtemplate: "commons"(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. 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. 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, hours, phone,url). -
Photos: each
<img data-pl-photo="...">says what photo belongs there and its shape. Swap in the user's photos (compressed, WebP or JPEG under about 300 KB, same aspect ratio, realalt), or keep the illustration. Ask for photos; never hot-link. -
Regenerate
og.png(1200×630) from the new home page if you can, or delete it and itsog:imagetags. 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 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: any paid plan; Booking: Team, Company or Enterprise), add the Forms or Booking plugin (set_plugin), put itssnippet_htmlin 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-filland the template's fictional business name: 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.
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.tar -czf - -C <dir> . | curl -sS --fail-with-body --data-binary @- https://api.pagelemon.com/v1/deployIfPAGELEMON_TOKENis set, or~/.config/pagelemon/credentialsexists, add-H "Authorization: Bearer <that token>". 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): call itsdeploytool with every file. See "No shell: the MCP connector" in https://pagelemon.com/agents. -
Neither: tell the user to connect Page Lemon to this AI app once (steps at https://pagelemon.com/docs/connect), then ask you again. If they can't (for example ChatGPT's free plan), give them the site as one
index.htmlfile and send them to https://pagelemon.com/drop to put it online with no account (on a phone with no file, they can copy the whole code and paste it there). 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.