Patron: garden writers website template
An app template for a garden writer's paid letter: patrons get a new letter on the first Sunday of every month, every letter before it, the month's jobs week by week and a question in the monthly Q&A with a photo of the plant, which they follow from received to answered with the writer's reply. Readers join free for one letter and a sowing notebook. A public page, seven member screens under /app and a privacy notice with blanks.
Built from: Pages · Lists · Sign-in: users · Actions: pay
To use it, paste this into your AI chat:
Use template pagelemon.com/tp/Patron
Who it suits
Made for: garden writers, writers with a paid newsletter, experts who answer readers' questions, paid newsletter, supporter membership, members-only letters, monthly Q&A for subscribers. In the gallery under Membership & community.
Its 9 pages
- Home: The public page: who writes the letters, what a patron gets for £6 a month, how the Q&A works, the two plans and a link to sign in or join free
- Home (app): Signed out: the welcome and sign-in. Signed in: this month's letter (or the free letter for readers), quick actions, the member's latest question with its status and reply, three of the month's jobs, counts and the notebook
- Letters: Every letter newest first with covers: this month's for patrons, last month's free to every reader
- This month's letter: The reading view for patrons, with the answers from the Q&A; readers see the opening and a join button
- Free letter: Last month's letter, open to every signed-in member, with the join button beside it
- Garden: The month's jobs week by week and next month for patrons, and the sowing notebook (add what went in, where and when) for everyone
- Ask: For patrons: the question form with a plant photo; for everyone their questions with the status (Received, Chosen for the letter, Answered) and the writer's reply
- Account: The plan (Patron card, or the Reader and Patron plan cards with the join button), the account block (sign-in, billing, devices, leaving) and help
- Privacy: The privacy notice, with blanks the Site Owner fills in
Look: Seed packets in plum and seed green on envelope paper, with two-ink botanicals and a letter that tears open; light, calm, classic; fonts Young Serif and Source Sans 3.
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 letter name, writer's name, contact email, monthly price, the sample letter and the monthly letters), 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 Patron template and published with Page Lemon (PageLemon.com). They may have pasted only "Use template pagelemon.com/tp/Patron": 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: "patron" 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: Seed packets in plum and seed green on envelope paper, with two-ink botanicals and a letter that tears open (light, calm, classic)
-
Pages: Home (
index.html): The public page: who writes the letters, what a patron gets for £6 a month, how the Q&A works, the two plans and a link to sign in or join free; Home (app) (app/index.html): Signed out: the welcome and sign-in. Signed in: this month's letter (or the free letter for readers), quick actions, the member's latest question with its status and reply, three of the month's jobs, counts and the notebook; Letters (app/letters.html): Every letter newest first with covers: this month's for patrons, last month's free to every reader; This month's letter (app/letter.html): The reading view for patrons, with the answers from the Q&A; readers see the opening and a join button; Free letter (app/letter-sample.html): Last month's letter, open to every signed-in member, with the join button beside it; Garden (app/garden.html): The month's jobs week by week and next month for patrons, and the sowing notebook (add what went in, where and when) for everyone; Ask (app/ask.html): For patrons: the question form with a plant photo; for everyone their questions with the status (Received, Chosen for the letter, Answered) and the writer's reply; Account (app/account.html): The plan (Patron card, or the Reader and Patron plan cards with the join button), the account block (sign-in, billing, devices, leaving) and help; Privacy (privacy.html): The privacy notice, with blanks the Site Owner fills in - Fonts: Young Serif, Source Sans 3 (Google Fonts)
- Live demo: https://try-patron.pagelemon.dev/ (a working copy with sample data; people opening https://pagelemon.com/tp/Patron in a browser land there). The template's own files: https://pagelemon.com/templates/patron/; the page about it: https://pagelemon.com/tp/Patron/use
- Manifest: https://pagelemon.com/templates/patron/template.json (machine-readable: files, customise, facts, interview)
Files
With the Page Lemon connector you don't need to fetch these: deploy with template: "patron" copies them all (step 2). Otherwise fetch each file from https://pagelemon.com/templates/patron/ and save it with the same relative path (including art/). Fetch nothing else: templates have no external images or scripts.
- https://pagelemon.com/templates/patron/index.html
- https://pagelemon.com/templates/patron/app/index.html
- https://pagelemon.com/templates/patron/app/letters.html
- https://pagelemon.com/templates/patron/app/letter.html
- https://pagelemon.com/templates/patron/app/letter-sample.html
- https://pagelemon.com/templates/patron/app/garden.html
- https://pagelemon.com/templates/patron/app/ask.html
- https://pagelemon.com/templates/patron/app/account.html
- https://pagelemon.com/templates/patron/privacy.html
- https://pagelemon.com/templates/patron/styles.css
- https://pagelemon.com/templates/patron/app.js
- https://pagelemon.com/templates/patron/kit.css
- https://pagelemon.com/templates/patron/kit.js
- https://pagelemon.com/templates/patron/kit-icons.svg
- https://pagelemon.com/templates/patron/icons.svg
- https://pagelemon.com/templates/patron/site.webmanifest
- https://pagelemon.com/templates/patron/favicon.svg
- https://pagelemon.com/templates/patron/art/sample-plant.svg
- https://pagelemon.com/templates/patron/art/welcome-shed.svg
- https://pagelemon.com/templates/patron/art/seedling.svg
- https://pagelemon.com/templates/patron/art/letter-dahlias.svg
- https://pagelemon.com/templates/patron/art/letter-leafmould.svg
- https://pagelemon.com/templates/patron/art/letter-lavender.svg
- https://pagelemon.com/templates/patron/art/letter-sweetpeas.svg
- https://pagelemon.com/templates/patron/og.png
- https://pagelemon.com/templates/patron/apple-touch-icon.png
- https://pagelemon.com/templates/patron/icon-192.png
- https://pagelemon.com/templates/patron/icon-512.png
- https://pagelemon.com/templates/patron/icon-512-maskable.png
Notes for Patron (its customise rules)
- Brackenhurst Letters and Elspeth Trevail in the header, footer and titles; replace every data-pl-fill fact with the owner's own, and the letters, the Q&A answers and the month's jobs on app/garden.html with the owner's own writing. Also replace site.webmanifest name and short_name with the owner's app name and short home-screen name.
- Fill in every highlighted blank on privacy.html with the Site Owner before members use the site (not legal advice: https://pagelemon.com/agents/member-app-legal)
- Make the questions and sowings lists with save_app_list exactly as memberApp.lists says (questions with its status_options and reply on); change fields there, in the forms on app/ask.html and app/garden.html and in their rows together.
- The £6 a month is the patron plan's price: change it with save_plan and wherever the pages say £6 (index.html and the app pages) together.
- Each month: put the new letter in app/letter.html, move the old one to the archive card on app/letters.html (choose which letter is free in app/letter-sample.html), and update the jobs on app/garden.html. Month names fill themselves in (app.js).
- The writer answers questions in the Dashboard (Apps, the questions list): set the status to Chosen for the letter or Answered and write a reply; the member sees both in the app and gets an email when they change.
- Adults only. Never adapt this app to collect health data or children's data. Never request passwords, PINs, sign-in codes, card numbers, bank account numbers, government ID numbers or tax numbers, including in uploaded files.
- Colours: Edit the :root tokens at the top of styles.css: Plum, Envelope, Seed Green (sow) and Wax Red (harvest); a dark potting-shed scheme follows the device
- Fonts: Young Serif (packet months, titles and headings) and Source Sans 3 (text, labels and the sowing calendars), one Google Fonts <link> in every page head and --p-display / --p-sans in styles.css. If the owner prefers no font service, download both (OFL) into a fonts/ folder and switch to @font-face.
- Sections: Member pages live under /app on the shared app kit (kit.css, kit.js, kit-icons.svg; never edit those copies; node scripts/sync-app-kit.mjs patron) with the data-pl-view markup. setup_app with signup open and the first-name profile field, then save_app_list for questions and sowings, then save_plan for reader (free) and patron (£6 a month). Patron-only content sits inside data-pl-if="plan:patron", the join buttons inside no-plan. app.js only writes month names and the next letter date.
- Images: Every letter is a seed packet: art/letter-*.svg are the two-ink botanical drawings on the packet fronts (dahlia, broad bean, lavender, sweet pea; 400×480, plum #5B2148 and green #536B2C), art/welcome-shed.svg the garlic on the welcome packet and art/seedling.svg the Reader plan packet. Swap in your own drawings in the same frame, or keep them; each packet back has a sow and harvest calendar (table.p-cal: put class on on the months) that app.js marks with this month. art/sample-plant.svg is the demo question's plant photo. icons.svg holds four icons the app kit doesn't have (book, ask, sprout, pen). favicon.svg is the seed-packet mark; the PNG icons are made from it.
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":"First name"}],"display_field":"name","path":"/app"} -
Questions for the Q&A (
questions): users add these rows themselves on the pages.{"site":"<site>","list":"questions","label":"Questions for the Q&A","fields":[{"name":"topic","type":"choice","label":"Topic","required":true,"options":["Vegetables","Fruit","Flowers","Trees and shrubs","Soil and compost","Other"]},{"name":"question","type":"long_text","label":"Your question","required":true},{"name":"photo","type":"photo","label":"A photo of the plant"}],"status_options":["Received","Chosen for the letter","Answered"],"reply":true} -
Sowing notebook (
sowings): users add these rows themselves on the pages.{"site":"<site>","list":"sowings","label":"Sowing notebook","fields":[{"name":"plant","type":"text","label":"What went in","required":true},{"name":"sown","type":"date","label":"Date","required":true},{"name":"where","type":"choice","label":"Where","required":true,"options":["Open ground","Raised bed","Greenhouse","Cold frame","Pots","Windowsill"]},{"name":"memo","type":"text","label":"Notes"}]} -
Plans (
save_plan; the pages usedata-pl-if="plan:<id>"and join buttons):reader"Reader" (free);patron"Patron" (paid, sample price 6.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 (letter name, writer's name, contact email, monthly price, the sample letter, the monthly letters, the planting calendar, Q&A deadline). If they can't answer one, remove that element rather than inventing it.
- What is your letter called, and who writes it?
- What do you write about, and for whom?
- Which letter should readers get free as the sample?
- What does a patron pay a month, and what do they get beyond the sample?
- What is the Q&A deadline, and how many questions do you select? Selected questions are published anonymously.
- Which email address should members write to?
- 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: "patron"(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.