silverstripe-autotoc 

silverstripe-autotoc Git Source Tree

Root/templates/Includes/AutotocItem.ss

1<li>
2<a href="#$Id.ATT">$Title</a><% if $Children %>
3<ul class="nav navlist"><% loop $Children %>
4<% include AutotocItem %><% end_loop %>
5</ul><% end_if %>
6</li>

Archive Download this file