Open kmdavis opened 13 years ago
Actually, this hack doesn't work for our usage. It produces output, but the output isn't in Quite the right order
Ok... fixed it locally. Reverted that hack above. In my usage, I had an if statement wrapped around the include. By moving the if statement into the partial, it works. But it would be nice not to have to do so
Sometimes dust gets stuck in an asynchronous block at the end of a template. We have our own subtemplate/partial include system, and sometimes, for some templates, after ending a stub, it doesn't get flushed.
I fixed the issue locally like this, but it's kinda scary: (works for our use cases though)
Also, for reference, here's our custom include helper:
And an example of it in use:
{@include name=\"cart\" version=\"countdown\" context=sku/}