1.1.3 • Published 9 months ago

@gethinode/mod-hubspot v1.1.3

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

Hinode Module - HubSpot

About

Logo

Hinode is a clean blog theme for Hugo, an open-source static site generator. Hinode is available as a template, and a main theme. This repository maintains a Hugo module to embed HubSpot forms within a Hinode site. Visit the Hinode documentation site for installation instructions.

Contributing

This module uses semantic-release to automate the release of new versions. The package uses husky and commitlint to ensure commit messages adhere to the Conventional Commits specification. You can run npx git-cz from the terminal to help prepare the commit message.

Configuration

This module supports the following parameters (see the section params.modules in config.toml):

SettingDefaultDescription
portalThe portal ID of the HubSpot account where you created the form. This is used to retrieve the form definition.
regionThe region of the portal where the form was created. This is used to retrieve the form definition.

Content Security Policy

HubSpot forms require several directives to be added to your Content Security Policy. See the policy requirements for more details. The following directives are required to enable correct form handling:

PolicyValue
script-src'self' .hsforms.net .hs-scripts.com .google.com .gstatic.com
connect-src'self' .hsforms.com .hubspot.com
frame-src'self' *.google.com
frame-ancestors'self' *.google.com
img-src'self' data: .hsforms.net .hsforms.com
1.1.3

9 months ago

1.1.2

9 months ago

1.1.1

9 months ago

1.1.0

10 months ago

1.0.1

10 months ago

1.0.0

10 months ago

0.0.0

10 months ago