Skip to content

Build your personal knowledge base with Trilium Notes

314 B
Raw Blame
<li>
    <a href="<%= entry.href %>">
        <span><%- entry.html %></span>
    </a>

    <% if (entry.children.length) { %>
        <ul>
            <% for (const subentry of entry.children) { %>
                <%- include("toc_item", { entry: subentry }) %>
            <% } %>
        </ul>
    <% } %>
</li>