%!
title = ""
uses_toc = False
%>
<%inherit file="/root.mako" />
${self.attr.title}
${next.body()}
% if self.attr.uses_toc:
% endif
<%def name="style()">
${parent.style()}
%def>
<%def name="h2()">
<%
if self.attr.uses_toc:
c = capture(caller.body)
name = c.replace(" ", "_").lower()
tlist = getattr(self.attr, "tlist", [])
tlist.append((str(name), str(c)))
self.attr.tlist = tlist
else:
name = "#"
%>
ยป ${caller.body()}
%def>