How to make a variable in a custom module?

I am new to HubSpot and I am trying to create a custom module (HTML) but I want the text sections to be variables so non-programmers could edit the content easily when creating pages. Here is what I have inside my HTML module:

<h1> {{ module.title }} </h1>

But when I add this module to a template/page it says “This component has no editable fields”.

What am I missing?

Hi there!

On the right-hand sidebar you can add editable fields and then use the “copy snippet” feature to insert HubL for them into your code.

Users will then be able to use the field options on the sidebar to update them.

I hope that helps!


|300HubSpot Design / Development / Automation

Website | Contact

If this helped, please mark it as the solution to your question so that others can find it, thanks!

Thanks Stephanie!