toc_item
<% const slugify = (text) => text.toLowerCase().replace(/[^\w]/g, "-"); const slug = slugify(entry.name); %>
-
<% for (const subentry of entry.children) { %>
<%- include('toc_item', {entry: subentry}) %>
<% } %>