Render {embed} for each entry in {exp:weblog:entries} loop
- by eyelidlessness
{exp:weblog:entries [args]}
[content]
{embed="path/to/sub-template" [args]}
{/exp:weblog:entries}
The sub-template only renders for the first entry, and the {embed} template tag is swallowed for all subsequent entries. Is there a way to make it render the sub-template for each iteration?
Edit: stranger yet, if caching is enabled for the sub-template, it renders for each iteration—but, of course, the arguments on the embed tag aren't passed to subsequent iterations, as the sub-template is cached.