%inherit file="template_slide.html" />
<%block name="header">
${slide.var("heading", "Table of Contents")}
%block>
<% toc = slide.var("partial_toc") %>
%if toc is None:
TOC not rendered yet.
%else:
%for (command, entry) in toc:
%if command.name == "NestingIncrease":
%elif command.name == "NestingDecrease":
%else:
%if len(entry.pages) > 0:
%endif
${entry.full_number} ${entry.text}
%if len(entry.pages) > 0:
%endif
%endif
%endfor
%endif