Tutorials
Tutorial: a recipe site
A food blog where every recipe is an entry of one collection: one design for every recipe page, a strip of the newest on the home page, a searchable index with page numbers, a Vegetarian badge, ratings and sharing.
1. The Recipes collection and its fields
- In the Page Manager press New Page, name it Recipes, choose Collection (one design, a page for each entry). Its address becomes /recipes/[slug]. Press Create Page.
- Open Page Settings › Collection Fields and add the fields below. Each field's token appears under it, such as {{item.coverImage}}. Press Save Page Settings.
| Label | Type | Token | Why |
|---|---|---|---|
| Title | Text (one line), Required | {{item.title}} | The heading, and the entry's address follows it. |
| Summary | Paragraph | {{item.summary}} | Shown on the cards and as the search description. |
| Cover image | Image | {{item.coverImage}} | The picture on the page and the cards. |
| Minutes | Number | {{item.minutes}} | Sorting by quickest. |
| Vegetarian | True / False | {{item.vegetarian}} | Shows a badge while it is on. |
| Rating | Number | {{item.rating}} | A Star Rating's score. |
| Published on | Date (and time) | {{item.publishedOn}} | Shown as 31 December 2026. |
2. Design one recipe page
- Add an Image: in its Image Studio set Picture to the address {{item.coverImage}}, choose the Print frame and Description {{item.title}}. The builder shows a placeholder for the token.
- Add a Text with {{item.title}} (kind H1), a Text with {{item.minutes}} minutes · {{item.publishedOn}}, and a Rich Text with {{item.summary}}.
- Add a Star Rating and type {{item.rating}} as its Score.
- Add a Text reading Vegetarian, styled as a pill, with Role Visibility While a collection field is set: Vegetarian.
- Add a Button with the action Share (WhatsApp, social apps, email), Share to the device's share sheet, Link to share {{item.url}} and Words to share Try {{item.title}}.
- Press Preview and choose an entry in Preview with the entry to see real values (after step 3). Publish the collection page.
3. Add recipes
- Open the website's Collections, pick Recipes and press Default values: set Rating to 0 and Vegetarian off, then Save Defaults. New entries start with these.
- Press New Entry. Type the Title (Lemon tart); the Address follows (lemon-tart). Fill the other fields; Choose from media library for the cover.
- Optional: in SEO & Social Sharing, write an SEO Meta Title. Left empty, it becomes Lemon tart | the collection's title.
- Leave Published (on the website) on and press Save Entry. The recipe is live at /recipes/lemon-tart and in the sitemap.
In the app: Website › Collections › Recipes
4. The newest three on the home page
- On the home page, add Collection Cards and choose Recipes.
- Order: Newest first. Show only (cards): 3. Turn off Show a search box.
- Design the Card once: an Image with {{item.coverImage}}, a Text with {{item.title}} and one with {{item.minutes}} minutes. The card already links to {{item.url}}.
5. A searchable recipe index
- Create a page All recipes at /all-recipes. Add Collection Cards with Recipes, Cards per page 12.
- In Search, Pages & Loading: Show a search box on, Search hint Search 120 recipes…, Pages Page numbers, While the cards load Cards shimmer (skeleton).
- Set Name in the address to recipes, so searches read ?recipes-search=tart and pages ?recipes-page=2.
6. A Quick dinners strip
Add another Collection Cards with Order By Minutes, Lowest first, Show only (cards) 4 and Name in the address quick. Visitors see the four quickest recipes.
Take it further
Ideas to try
- A Vegetarian page: Collection Cards with Put first: Entries with Vegetarian on.
- A recipe request form whose responses become entries once you accept them: see Collections fed by a form.
- Members-only recipes: entries for one user group, under Who sees this entry.
- A weekly recipe published on its own with Or go live at.