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>
|
<p>$Introduction</p>
|
||||||
<% end_if %>
|
<% end_if %>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<% if Breadcrumbs %>
|
||||||
|
<% include DocumentationBreadcrumbs %>
|
||||||
|
<% end_if %>
|
||||||
<% else %>
|
<% else %>
|
||||||
<h2>$Title</h2>
|
<% if Breadcrumbs %>
|
||||||
|
<% include DocumentationBreadcrumbs %>
|
||||||
|
<% end_if %>
|
||||||
|
|
||||||
|
<h1>$Title</h1>
|
||||||
<% end_if %>
|
<% end_if %>
|
||||||
|
|
||||||
<% include DocumentationVersions %>
|
<% include DocumentationVersions %>
|
||||||
@ -17,14 +25,20 @@
|
|||||||
<% include DocumentationVersion_warning %>
|
<% include DocumentationVersion_warning %>
|
||||||
<% end_if %>
|
<% end_if %>
|
||||||
|
|
||||||
|
|
||||||
<% include DocumentationTableContents %>
|
<% include DocumentationTableContents %>
|
||||||
|
|
||||||
<% loop Children %>
|
<% if Children %>
|
||||||
|
<div class="documentation_children">
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="$Link">$Title</a></li>
|
<% loop Children %>
|
||||||
</ul>
|
<li>
|
||||||
|
<h3><a href="$Link">$Title</a></h3>
|
||||||
|
<% if Summary %><p>$Summary</p><% end_if %>
|
||||||
|
</li>
|
||||||
<% end_loop %>
|
<% end_loop %>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<% end_if %>
|
||||||
|
|
||||||
<% include DocumentationNextPrevious %>
|
<% include DocumentationNextPrevious %>
|
||||||
</div>
|
</div>
|
Loading…
Reference in New Issue
Block a user