Closed zeroedin closed 9 years ago
In order to use the <r:root /> tag hammer needs to be aware if the "current view" is considered viewing at the root level.
<r:root />
This would be done by adding the root attribute to mock_data.yml
root
mock_data.yml
root: true # accepts true | false, defaults to false in the tags absence.
Currently the tag is always "expanded". This is incorrect for some layouts and needs to be definable.
<r:root> <ul> <r:children:each labels="audience"> <li> <a href="<r:page:url />"><r:page:name /></a> </li> </r:children:each> </ul> </r:root>
Here is how this element is used and in this case you may want to be able to toggle this on and off while styling the page.
In order to use the
<r:root />
tag hammer needs to be aware if the "current view" is considered viewing at the root level.This would be done by adding the
root
attribute tomock_data.yml
Currently the tag is always "expanded". This is incorrect for some layouts and needs to be definable.
Here is how this element is used and in this case you may want to be able to toggle this on and off while styling the page.