What problem does it solve?
This Skill prevents broken ERPNext website deployments by guiding you through the correct Web Page/Page Builder workflow for rendering HTML (especially in Frappe v16), including the required API-driven setup for templates, page blocks, and Website Settings.
Core Features & Use Cases
- Render-ready HTML deployment: Deploys static HTML/CSS websites as Web Pages using
content_type: "Page Builder" with page_blocks.
- Correct handling for Frappe v16: Ensures HTML is rendered via a custom "Section" Web Template using
page_blocks, avoiding the main_section rendering trap.
- Forum integration: Embeds ERPNext/Frappe Discussion Topic/Reply via the built-in "Discussions" Web Template on the same page.
- Website Settings automation: Configures
home_page, brand_html, head_html (including global CSS wrapper fixes), top_bar_items, and footer_items.
- Deployment scripting: Provides a Python deployment script pattern that creates/updates the Web Template, rewrites links, extracts mockup body content, and pushes pages via REST.
Quick Start
Use the skill to deploy your HTML mockup by creating the Raw HTML Section template, then creating Web Pages with page_blocks and setting global layout fixes in Website Settings so the pages render correctly in Frappe v15/v16.