Closed dhritzkiv closed 10 years ago
@dhritzkiv do you have dustjs-helpers included on your page when rendering in browser? Dustjs-helpers provides the @eq
helper, without it dust doesn't know how to handle {@eq
and will render empty string instead.
You can get dustjs-helpers here https://github.com/linkedin/dustjs-helpers
Oh thank you for catching that. I forgot to include that in my page. Feeling quite silly now. Closing
I have template code that I've dumbed down to:
When I render it server side (using consolidate), it gives me the expected value of
yes
. However, when I try to render in the browser (with a server-side compiled .js file), I don't see either bodies rendered.Here is the compiled js code:
Most everything else renders fine. Am I missing a step? Am I doing something wrong?
Using 2.3.4