When building websites in HubSpot Content Hub, page templates provide the foundation for how pages are structured and displayed. Templates define the layout of a page and determine where content modules appear.
Instead of designing each page individually, templates allow developers to create reusable layouts that editors can use to build pages quickly.
Understanding how HubSpot Content Hub page templates work helps teams create consistent and scalable website designs.
A page template defines the structure of a webpage.
Templates typically control elements such as:
Editors use templates when creating pages so they can focus on adding content rather than designing layouts.
Templates are usually created and managed inside the HubSpot Design Manager.
To access templates:
Content → Design Manager
Developers can build templates using HTML, HubL, and module structures.
HubSpot supports several types of templates used for different kinds of content.
Common template types include:
Each template type is designed for a specific type of content.
When creating a page in HubSpot Content Hub, the user selects a template first.
To create a page:
This process ensures all pages follow a consistent design structure.
Templates often include modules, which are reusable content components.
Examples of modules include:
Editors can update module content without changing the template structure.
When developers update a template, the change can affect all pages using that template.
Because of this, template updates should be tested carefully.
Many teams use staging environments to test template changes before applying them to the live website.
Templates offer several advantages for website management.
They help teams:
Templates are an essential part of scalable website design.
HubSpot Content Hub page templates define the layout and structure of website pages. By using templates and reusable modules, teams can maintain consistent designs while allowing editors to easily create and manage website content.