%
local allsections = self.map:read()
local sections = {}
for k, v in pairs(allsections) do
if v[".type"] == sectiontype then
sections[k] = v
end
end
%>
<%=self.title%>
<%=self.description%>
<% for k, v in pairs(sections) do %>
<% for k, node in ipairs(self.children) do
node.section = k
node:render(k)
end %>
<% end %>