Build an Automatic Page List
Goal: Add a page list that stays current as more eligible pages are published.
Time: About 5 minutes.
You need: A draft hosting page, permission to edit its blocks and published pages for the section you want to list.
List published pages for one site section and verify localized results. The narration is in English. Turn on captions in the player controls.
Steps
- Open the draft's slot and add a Page List block. For Which pages, choose Pages under a path and enter a path prefix such as
/journal. You can also list a page type or the subtree of the current page when that fits better. - Set the sort order and limit. Choose Card grid or Links, and review options for thumbnails and descriptions. The list uses the page translation's name, list excerpt or SEO description, and social image.
- Preview the hosting page. Check the result against your expected published pages. Drafts, inaccessible pages and pages from another site stay out of the list. A required locale translation can also affect which pages appear.
- Switch the preview language. Check the titles and follow a localized link. Review the prefix if the section uses a different localized path. Publish the hosting page when it is ready.
Example
The demo lists two published journal entries beneath /journal and leaves the draft entry out. The same list shows the German titles and links in the German preview. Use Automatic Pages when you want a source provider to generate new detail addresses.
Related: Page List reference · Create automatic detail pages