Maia docs
Testimonials and FAQs
Add client stories and frequently asked questions in two simple YAML files.
Testimonials and FAQs are lists in src/data/. Each entry starts with a dash and needs a unique id, which is never shown.
Testimonials
src/data/testimonials.yaml
- id: amara
order: 1
quote: For the first time in fifteen years I'm not on a diet, and I've still lost weight.
name: Amara J.
result: Lost 9 kg in six months
program: 1:1 Nutrition Coaching
tint: peach
| Field | Required | What it does |
|---|---|---|
quote |
Yes | What the client said. |
name |
Yes | Their name. Many practitioners use a first name and initial for privacy. |
result |
No | A short highlighted line above the quote. |
program |
No | Shown under the name. If it matches a program’s title exactly, the story also appears on that program’s page. |
tint |
No | Card color: sage, peach, butter or sky. |
order |
No | Lower numbers come first. |
The first three appear on the home page and the Programs page, and the first two on the About page.
Only publish testimonials with your clients’ permission, and check your professional body’s rules on testimonials and results claims.
FAQs
src/data/faqs.yaml
- id: online
order: 1
question: Do you work with clients online?
answer: Yes. Most of my clients work with me over video calls.
home: true
| Field | Required | What it does |
|---|---|---|
question, answer |
Yes | The question and its answer. |
home |
No | true also shows the question on the home page. |
order |
No | Lower numbers come first. |
All FAQs appear on the Programs page, and the first four on the Contact page. The home page FAQ is also marked up for search engines as FAQ structured data.
Empty lists
To hide every testimonial or FAQ, replace the file’s contents with []. Astro then prints a harmless warning that the list is empty, and the sections disappear.