doc.silverstripe.org/themes/docs/templates/Layout/Page.ss

11 lines
184 B
Scheme

<% if Menu(2) %>
<% include Sidebar %>
<% end_if %>
<div id="content-column" class="<% if Menu(2) %>has-sidebar<% end_if %>">
<h2>$Title</h2>
$Content
$Form
$PageComments
</div>