silverstripe-docsviewer/templates/DocFolderListing.ss

13 lines
308 B
Scheme
Raw Normal View History

<div id="folder-listing">
<h2>$Title</h2>
<% if Pages %>
<ul>
<% control Pages %>
<li><a href="$Link">$Title</a></li>
<% end_control %>
</ul>
<% else %>
<p>No documentation pages found for $Title. If you need help writing documentation please consult the README.</p>
<% end_if %>
</div>