Add page
add_pageCreate a page: pages/.liquid plus its record (the first page is home). text is the page's HTML + Liquid. Returns the pageId. seo.title + seo.description can be set here. Guide: get_style_reference({ topic: "pages" }).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Site id. | |
| seo | No | Per-page SEO. | |
| name | Yes | Display name; becomes the slug ("Our Services" → /our-services). | |
| text | Yes | The page's HTML + Liquid (required). | |
| is404Page | No | Serve it for unmatched routes. | |
| isHomePage | No | Make it the home page (unsets the current one). |