mirror of
https://github.com/silverstripe/silverstripe-docsviewer
synced 2024-10-22 11:05:56 +02:00
62dd4e92f7
Remove breadcrumbs from the searchbar to the top of the page content, and make sure they only display if there is more then the current link. Wrap the module and version selectors to fill the gap in the searchbar.
26 lines
506 B
Scheme
Executable File
26 lines
506 B
Scheme
Executable File
<% if VersionWarning %>
|
|
<% include DocumentationVersion_warning %>
|
|
<% end_if %>
|
|
|
|
<div id="module-home">
|
|
<div id="content-column">
|
|
<% if Content %>
|
|
<% if Breadcrumbs %>
|
|
<% include DocBreadcrumbs %>
|
|
<% end_if %>
|
|
$Content
|
|
|
|
<% if EditLink %>
|
|
<div id="edit-link">
|
|
<p><a target="_blank" href="$EditLink">Edit this page</a></p>
|
|
</div>
|
|
<% end_if %>
|
|
<% else %>
|
|
<h2>$Title</h2>
|
|
<% end_if %>
|
|
</div>
|
|
|
|
<div id="sidebar-column">
|
|
<% include DocInThisModule %>
|
|
</div>
|
|
</div> |