Search code examples
dust.jskraken.js

Kraken, Dust and Makara


<span id='sitemap'> 
    {#footer.sitemaps}
    <a id="{id}" href="{url}">{@pre type="content" mode="json" key="footer.{id}"/}</a>
            {/footer.sitemaps}
</span>

In the code, {id} is a property of one element in footer.sitemaps. I want Makara to get the key value dynamically using {id}. May I know how to do that?


Solution

  • See the discussion around this makara issue: https://github.com/krakenjs/makara/issues/36