silverstripe-autotoc 

silverstripe-autotoc Git Source Tree

Root/templates/Includes/Autotoc.ss

1<% with $Autotoc %><% loop $Children %>
2<% include AutotocItem %><% end_loop %>
3<% end_with %>

Archive Download this file