-
I'd like to create a custom renderer using connectHits as described here: But instead of using template literals I'd like to use Hogan templates. Currently it outputs the template, but the variables are not being parsed. What am I doing wrong? Additional questions:
connectHits:
Hogan template:
Outputs:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hogan is only available in the default widgets, however if you have a build system, adding hogan.js as a dependency will not add a new copy to the site, and you'll be able to import and use it yourself in the custom widget |
Beta Was this translation helpful? Give feedback.
Hogan is only available in the default widgets, however if you have a build system, adding hogan.js as a dependency will not add a new copy to the site, and you'll be able to import and use it yourself in the custom widget