%
layout("/layouts/base.eta", {
title: `${it.repo.owner}/${it.repo.name} - ${it.path || "/"}`,
scripts: ["/static/refs.js"],
})
%>
git clone https://github.com/<%= it.repo.owner %>/<%= it.repo.name %>.git
git clone git@github.com:<%= it.repo.owner %>/<%= it.repo.name %>.git
<%
/* Without GitHub's navigation to go by, offer every tab. */
const hasTab = (tab) => !it.tabs || it.tabs.includes(tab)
%>
<%~ it.body %>