Templates are one of the core building blocks of websites created in HubSpot Content Hub. A template defines the layout and structure of a page, ensuring that pages follow a consistent design while still allowing editors to update content easily.
Instead of designing every page manually, templates allow developers to create reusable layouts that marketing teams can use to publish pages quickly.
Understanding how HubSpot Content Hub templates work helps both developers and content teams manage websites more efficiently.
A HubSpot Content Hub template defines the layout of a page.
It controls where different content elements appear, such as:
Templates provide the structure, while the actual content is added later using modules inside the editor.
Templates are used in several parts of HubSpot Content Hub, including:
Each type of page typically uses a specific template designed for that purpose.
For example, a landing page template may focus heavily on conversion elements like forms and call-to-action buttons.
Templates in HubSpot Content Hub are built using modules, which are reusable content components.
Common modules inside templates include:
Modules allow editors to update content without modifying the page structure.
Many templates in HubSpot Content Hub support drag-and-drop editing.
This means editors can:
Drag-and-drop templates provide flexibility while still maintaining the design system defined by the theme.
Templates are typically created by developers using the HubSpot Design Manager.
Developers can build templates using:
Once created, these templates become available when creating new pages.
One major advantage of templates is that they can be reused across multiple pages.
For example, a company might create templates for:
Reusing templates helps maintain consistency across the website and speeds up page creation.
HubSpot Content Hub templates provide the structure that allows websites to be built efficiently and consistently. By separating layout from content, templates make it easier for marketing teams to create and update pages while developers maintain control over the design framework.