Given this context
{ getPartialPath: function(){ return myBoolean ? "./partial1" : "./partial2"; } }
for this template:
<div>{{> (getPartialPath) }}</div>
It would be nice if the plugin would load the partial from the return value of getPartialPath. So far I have not found a way to specify dynamic partials with this plugin. Any workaround would be appreciated.
Thank you for your time.
Given this context
{ getPartialPath: function(){ return myBoolean ? "./partial1" : "./partial2"; } }for this template:
<div>{{> (getPartialPath) }}</div>It would be nice if the plugin would load the partial from the return value of getPartialPath. So far I have not found a way to specify dynamic partials with this plugin. Any workaround would be appreciated.
Thank you for your time.