<% const linkPrefix = `/${it.repo.owner}/${it.repo.name}/${it.view}/`; const linkSuffix = it.path ? `/${it.path}` : ""; %> <% if (it.refs.length === 0) { %>
No <%= it.type %> found.
<% } else { %> <% } %> <% if (it.hasMore) { %>
View all <%= it.type %>
<% } %>