%
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 { %>
<% for (const ref of it.refs) { %>
-
<%= ref.name %>
<% if (ref.isDefault) { %>default<% } %>
<% } %>
<% } %>
<% if (it.hasMore) { %>
<% } %>