Page Layouts: Creating page layouts
Page Layouts are reusable HTML template structures — define headers, footers, and page shells once, then apply them to multiple web pages for consistent branding.
TL;DR
Access: Account → Web Resources → Page Layouts → + New layout. Write HTML with named sections using [section:content] markers to define where page-specific content is injected. Select the layout on any web page via Parent HTML layout. Pages then inject their HTML into the layout's named sections. Use to share headers, footers, navigation, CSS/JS includes, and branding across pages.
3 things to know
Creating a layout
Go to Account → Web Resources → Page Layouts → + New layout. Write the outer HTML structure: <!DOCTYPE html>, <head> (include shared CSS/JS), <body> with header, navigation, footer. Use @yield(section-name) where page-specific HTML should be inserted. Each web page using this layout provides its own HTML for that section.
Applying a layout to pages
When creating or editing a web page, set Parent HTML layout to your layout. The page's HTML is injected into the layout's section markers. Pages using the same layout all share the same header, footer, and CSS/JS — update the layout once and all pages are updated. Select "No parent layout" for pages that don't need the shared structure.
Layout hierarchy and nesting
Layouts can themselves have a parent layout — enabling nested templates (e.g. base layout → campaign-specific layout → page). This is useful for accounts with multiple sub-brands that share a base structure but differ in secondary details. Use Hubhus placeholders in layouts: %brand_name%, %brand_logo_url%, %brand_color% for dynamic branding.
Common searches
page layout • HTML template • shared header footer • layout sections • parent layout • reusable template
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article