mirror of
https://github.com/silverstripe/silverstripe-docsviewer
synced 2024-10-22 11:05:56 +02:00
2c00a3b20f
Clean up of existing theme, implementation of a new easier to integrate layout.
17 lines
446 B
Scheme
17 lines
446 B
Scheme
<div id="sidebar" class="box">
|
|
<ul class="nav">
|
|
<% loop Entities %>
|
|
<li><a href="$Link" class="$LinkingMode top">$Title <% if IsFolder %><span class="is-folder">►</span><% end_if %></a>
|
|
<% if LinkingMode == current %>
|
|
<% if Children %>
|
|
<ul>
|
|
<% loop Children %>
|
|
<li><a href="$Link" class="$LinkingMode">$Title</a></li>
|
|
<% end_loop %>
|
|
</ul><% end_if %>
|
|
<% end_if %>
|
|
</li>
|
|
<% end_loop %>
|
|
</ul>
|
|
</div>
|