You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 24, 2021. It is now read-only.
After examing _keystone.js more closely, it appears i missed a step in my twig commits. I'm not sure how the email class works in keystone, but based on the implementation of handlebars, is the following code enough to allow keystone to send emails with twig?
<%if(viewEngine==='twig'){%><%if(includeGuideComments){%>// Switch Keystone Email defaults to Twig.js<%}%>keystone.Email.defaults.templateExt='twig';keystone.Email.defaults.templateEngine=Twig.render;<%}%>
After examing
_keystone.js
more closely, it appears i missed a step in my twig commits. I'm not sure how the email class works in keystone, but based on the implementation of handlebars, is the following code enough to allow keystone to send emails with twig?Relevant Keystone Issue: keystonejs/keystone#3020
Its unclear to me if this will be enough. i'm having trouble reading the code in the email class and making sense of it.
The text was updated successfully, but these errors were encountered: