<body>
  <div id="headers">
    <%Jifty->web->link( url => "/", label => _(Jifty->config->framework('ApplicationName')))%>
    <h1 class="title"><% _($title) %></h1>
  </div>
  <& sidebar &>
  <div id="content">
    <a name="content"></a>
% if (Jifty->admin_mode) {
<div class="warning admin_mode">
<%_('Alert')%>: <% Jifty->web->tangent( label => _('Administration mode is enabled.') , url => '/__jifty/admin/')%>
</div>
% }
  <% Jifty->web->render_messages %>
  <% $m->content |n%>
  <& /_elements/keybindings &>
  </div>
  <div id="jifty-wait-message" style="display: none"><%_('Loading...')%></div>
% Jifty::View::Mason::Halo->render_component_tree() if Jifty->config->framework('DevelMode') && !Jifty->config->framework('HideHalos');
%# This is required for jifty server push.  If you maintain your own
%# wrapper, make sure you have this as well.
% if ( Jifty->config->framework('PubSub')->{'Enable'} && Jifty::Subs->list ) {
<script>new Jifty.Subs({}).start();</script>
% }
</body>
</html>
% Jifty->handler->stash->{'in_body'} = 0;
<%args>
$title => ""
</%args>
<%init>
# First we set up the header. 
$m->comp( 'header', title => $title);
# now that we've printed out the header, we're inside the body, so it's safe to print
# halo markers.
Jifty->handler->stash->{'in_body'} = 1;
</%init>
