Skip to content
This repository was archived by the owner on Apr 29, 2021. It is now read-only.

Enable handlebars helpers when rendering preview#3

Open
ah-adarlow wants to merge 1 commit intofrctl:masterfrom
ah-adarlow:master
Open

Enable handlebars helpers when rendering preview#3
ah-adarlow wants to merge 1 commit intofrctl:masterfrom
ah-adarlow:master

Conversation

@ah-adarlow
Copy link

When trying to use this adapter, my initial obstacle was rendering the preview layout. The Handlebars engine used in renderLayout didn't have access to the necessary helpers that Fractal defines.

Replacing the Handlebars template engine with a HandlebarsAdapter that has access to those helpers fixed the problem.

I'm open to any comments on how this could be done better.

Replaces the Handlebars template engine with a HandlebarsAdapter.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant