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

Enable handlebars helpers when rendering preview #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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