-
Notifications
You must be signed in to change notification settings - Fork 355
Modules
In addition to the default HubSpot modules, the HubSpot CMS Boilerplate comes with five additional modules to help give you a point of reference when building out your own modules. For more information on building your own modules, please reference this article.
Please note: For module fields that can be referenced by another module field, we use field paths for the field IDs in the fields.json
of our modules. An example of this is where this card group field is referring to the field ID of this card title field so that the card group field can be ordered based on the text in the card title field. We found that this approach was easier to read and maintain.
The card section module features a repeatable group of fields that allows you to add or remove a card that includes an image, title, and summary text.
The customizable button module is a simple link that is styled to look like a button which allows you to change the link and text.
The menu section module is a customized menu that leverages the HubL menu function and HubL menu node variables.
The pricing card module is a pricing card that allows you to change the header, summary text, list items, list item icons, price, button text, and button link.
The social follow module is a repeatable set of social icons that are used to link to social media accounts. There are several default social accounts available and an option to choose a custom icon from HubSpot’s set of icons included in the icon field.