Dust partial reference in another partial

In a Node.js app that uses express, I have four dust files:

  • a.dust
  • b.dust
  • c.dust
  • d.dust

In a.dust, I inject the html in d.dust using the syntax for partials, {>"d"/}. This is working.

Using the same syntax for partials, I try to inject the html in d.dust into c.dust, which itself is injected into b.dust as a partial. This is not working.

These are the partial references in each file:

a.dust

{>"d"/}

b.dust

{>"c"/}

c.dust

{>"d"/}

When the browser loads the page for b.dust, elements that should be coming from c.dust and from d.dust are missing.

Is it possible to use partials within partials in this way? Is there something I'm not considering?

Additional context that may be less relevant to others: I'm intending to use these partials only for plain text that will appear in multiple places throughout the app. I was hoping to write these instances of plain text once in their own dust files (e.g., in d.dust), and then simply inject them into other dust files using partials (e.g., into c.dust). My problem occurred when I tried to inject one of these plain-text partials (d.dust) into another dust file (c.dust), which is referenced as a partial in a third dust file (b.dust).