silverstripe-docsviewer/templates/Layout/DocumentationViewer_all.ss

21 lines
447 B
Scheme
Raw Normal View History

<div id="documentation_index" class="box">
2014-09-07 10:35:08 +02:00
<div id="page-numbers">
<span>
<% loop $AllPages.GroupedBy(FirstLetter) %>
<a href="#$FirstLetter">$FirstLetter</a>
<% end_loop %>
</span>
</div>
<% loop $AllPages.GroupedBy(FirstLetter) %>
<h2 id="$FirstLetter">$FirstLetter</h2>
<ul class="third semantic">
<% loop $Children %>
<li>
<a href="$Link">$Title</a>
</li>
<% end_loop %>
</ul>
<% end_loop %>
</div>