Content pages and blog
One template, many pages
All content pages share one page template. The Page content section shows the page's title and text. Other sections can be added under it, and several of them (Banner, Suppliers, Delivery & collection, Store promises, Text, Photo story, Opening hours, Contact form) have two extra settings:
- Show on content pages: Every page, or Only the page chosen below.
- Page: the page to show it on. With "Only the page chosen below" and no page picked, the section does not show.
So one template can hold the About, Delivery, Questions and Contact pages. The demo does exactly that, with pages using the handles about, delivery, faq and contact.
Page content also accepts Note theme blocks and app blocks under the page text.
About
Add a Photo story (a heading and text, then photos of the shop at work, each with a caption on a shelf-edge label and a line of text) and Suppliers, both set to the About page. Each only shows photos you have added; a story or supplier without a photo is not shown to shoppers.
Delivery
Add Delivery & collection set to the Delivery page with Layout → Slots table and areas (for a delivery page):
- Delivery slot blocks become a table: day, time, order by, charge.
- Area blocks list where you deliver, with postcodes or detail.
- The free-delivery card (your text, or the store's free shipping threshold) and the collection card sit beside them.
Questions
In the Page content section, pick the page in Page whose headings become questions (the demo picks faq). On that page, each Heading 2 in the page text becomes a question that opens to show the text under it. Open the first question opens the first one. Write the page as normal: heading, answer, heading, answer.
Contact
The demo also has a separate Contact page template with the page text, the Contact form and Opening hours. On the shared template, set both sections to the contact page instead.
Contact form:
- Show the address, map and hours adds a visit card: your map image or photo, or a drawn street plan when you leave the image empty, with an optional label on the pin. Then the address, opening hours, phone (tap to call), email and a directions button (Directions link, opens in a new tab).
- The form asks for name, email, subject and message; Ask for a phone number adds a phone field.
Opening hours
The hours drawn as the sign on the shop door: a heading, one Opening hours row block per line (days and hours) and a note under them. Set Mark as today on on a row (every day, Monday to Friday, Saturday and Sunday, or one day) and that row is marked "today" on the shopper's day; the first matching row wins. Rows set to "Never mark as today" are never marked.
Policies
Policy pages use the Page content section with the date the policy was last updated.
Blog
- Blog posts lists posts with a heading and introduction.
- Blog post shows the categories, title, date, author, featured photo, the text, Note and app blocks, comments (when enabled for the post) and related posts.
Ingredient lists
In a recipe post, a bulleted list whose items link to products is styled as a shopping list. Link each ingredient to its product with a relative link:
<ul>
<li><a href="../product/basil">Fresh basil</a> — a handful</li>
<li><a href="../product/pasta">Pasta</a> — 500g</li>
</ul>
Use the product's handle after ../product/. To put a recipe's ingredients in the trolley in one tap, use the Recipe with shopping list section (see Home page).