mirror of
https://github.com/silverstripe/silverstripe-docsviewer
synced 2024-10-22 11:05:56 +02:00
Fix formatting for folder pages.
This commit is contained in:
parent
da77bf6821
commit
91a3dbad88
@ -7,8 +7,16 @@
|
||||
<p>$Introduction</p>
|
||||
<% end_if %>
|
||||
</div>
|
||||
|
||||
<% if Breadcrumbs %>
|
||||
<% include DocumentationBreadcrumbs %>
|
||||
<% end_if %>
|
||||
<% else %>
|
||||
<h2>$Title</h2>
|
||||
<% if Breadcrumbs %>
|
||||
<% include DocumentationBreadcrumbs %>
|
||||
<% end_if %>
|
||||
|
||||
<h1>$Title</h1>
|
||||
<% end_if %>
|
||||
|
||||
<% include DocumentationVersions %>
|
||||
@ -17,14 +25,20 @@
|
||||
<% include DocumentationVersion_warning %>
|
||||
<% end_if %>
|
||||
|
||||
|
||||
<% include DocumentationTableContents %>
|
||||
|
||||
<% loop Children %>
|
||||
<ul>
|
||||
<li><a href="$Link">$Title</a></li>
|
||||
</ul>
|
||||
<% end_loop %>
|
||||
<% if Children %>
|
||||
<div class="documentation_children">
|
||||
<ul>
|
||||
<% loop Children %>
|
||||
<li>
|
||||
<h3><a href="$Link">$Title</a></h3>
|
||||
<% if Summary %><p>$Summary</p><% end_if %>
|
||||
</li>
|
||||
<% end_loop %>
|
||||
</ul>
|
||||
</div>
|
||||
<% end_if %>
|
||||
|
||||
<% include DocumentationNextPrevious %>
|
||||
</div>
|
Loading…
Reference in New Issue
Block a user