Steps to reproduce the issue
- Start Hammer-VM
- Navigate to a template in any theme with content in the
pages: key in mock_data.yml (eg Brand Patterns)
- Paste the following code into your template:
<r:children:each>
<h1><r:page:template:name /></h1>
</r:children:each>
This also happens with siblings, ancestors, and descendants tags.
Results
It will output the results of the template for the current page. For example, if you are on frontpage.html, it will output frontpage.
Expected results
r:page:template:name is supposed to output the name of the template in use for each child/sibling/ancestor/descendant—NOT the current template name.