preview_theme
Render a Ghost theme locally to preview layout and styling in a browser before activating on the live site. Builds static templates with sample content and serves on localhost.
Instructions
Render a Ghost theme locally and serve it for preview in a browser.
Builds a static render of the theme's home, post, and page templates using sample content, then serves it on localhost. Open the returned URL in a browser to check layout and styling before activating the theme on the live site. The render is a style-focused mockup: structure and CSS are faithful, while content is sampled and some dynamic helpers are stubbed.
Only one preview runs at a time: each call stops the previous server and replaces it, so older preview URLs go dead. Always hand the user the URL from the most recent call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| theme_path | Yes | Path to the theme directory to preview. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||