<%~ include("./_nav.eta", {...it, view: "tree"}) %> <% const commitPath = it.path && it.path !== "/" ? it.path : ""; %>
<% for (const item of it.items) { %> <% } %>
<% if (item.contentType === 'directory') { %> tree <%= item.name %>/ <% } else { %> blob <%= item.name %> <% } %>
<% if (it.overviewHtml) { %> <% for (const [filename, html] of Object.entries(it.overviewHtml)) { %> <% if (html !== null) { %>
<%= filename %>
<%~ html %>
<% } else { %> <% } %> <% } %> <% } %>