%
const strippedName = utils.stripTags(entry.name);
const slug = utils.slugify(strippedName);
%>
<%= strippedName %>
<% if (entry.children.length) { %>
<% for (const subentry of entry.children) { %>
<%- include('toc_item', {entry: subentry}) %>
<% } %>
<% } %>