A starting point for building modules on the HubSpot CMS.
The Getting Started with Modules tutorial provides developers with clear guidelines on how to create and edit custom modules both in the Design Manager and in a local environment. The tutorial also details how to include custom modules in templates and create HubSpot pages from those templates.
To begin, simply navigate to the Getting Started with Modules tutorial. The tutorial requires you to download the HubSpot CMS Boilerplate theme. This theme is designed to offer developers a head start in the website building process. The boilerplate also represents HubSpot's opinionated best practices.
Because the boilerplate theme's code may change over time, we have decided to include only the most critical files that developers will need to create or edit during the Getting Started with Modules Tutorial. These files include:
- Testimonial.module - the folder containing the files that make up the custom module we will build as part of the tutorial.
- homepage.html - the template that we will be editing to include our custom module.
- images - the folder containing the profile pictures we will use in the Testimonial module.
To learn more about the HubSpot CMS, visit developers.hubspot.com and explore the documentation.