cretz / dust-php

Powerful PHP templating engine based off of Dust JS
http://cretz.github.com/dust-php
MIT License
67 stars 19 forks source link

Can't load an external partial from within a block #6

Closed bash closed 9 years ago

bash commented 9 years ago

I am trying to do the following:

layouts/wsite.dust:

{+footer}
    {>"../partials/footer" /}
{/footer}

partials/footer.dust:

©2014 fog.im Team

...but if I render it, it doesn't get included. When I put it directly into the block like this:

{+footer}
    ©2014 fog.im Team
{/footer}

...it works. Is this a bug or am I doing something wrong?