in the inline partials example, the inline partials of nav and content are each wrapped inside a div.
if one of those partials is not defined, the wrapping div will still be created, which in my case leads to issues since I am using a grid container, which is creating a new row for the div and hence also gaps before/after the new row, even though there is nothing in it.
is there some way to check if the inline partial actually exists?
something like:
{{#if (hasInlinePartial "nav"}}
<div class="nav">{{> nav}}</div>
{{/if}}
I couldn't find anything in the options passed to helper functions...
in the inline partials example, the inline partials of nav and content are each wrapped inside a div.
if one of those partials is not defined, the wrapping div will still be created, which in my case leads to issues since I am using a grid container, which is creating a new row for the div and hence also gaps before/after the new row, even though there is nothing in it.
is there some way to check if the inline partial actually exists?
something like:
I couldn't find anything in the options passed to helper functions...