Open robwhite4 opened 7 years ago
I pushed a branch containing buggy code above --> https://github.com/Dasix/grits-plugin-docs/tree/issue-44-disqus-config-support in case you need it.
I'll go back into my message and edit it with code line links, etc..
~Rob
When trying to pass a helper to a layout with config options, the entire helper is not processed by grits, but output as a string literal.
See the following:
conf - https://github.com/Dasix/grits-plugin-docs/blob/issue-44-disqus-config-support/test/fixtures/basic/conf/grits.json#L19
layout - https://github.com/Dasix/grits-plugin-docs/blob/issue-44-disqus-config-support/src/layouts/docs.html.dust#L37
html result -
html inspect -
You can see that 'helpertest' is being passed from conf file, but then the whole helper is just output as a string into the layout.
However; if I don't pass the param via conf, and just type it in there, it works fine.
Let me know what other info you need.
Thanks,
~Rob