Tucker McKnight <tucker@pangolin.lan> | Fri Jan 02 2026
Some nav fixes - Remove the Tags link from the nav. I don't have anything to put there yet. - Fix the "active" status on the commit page. - Rename "patches" to "commits" in the URL.
122 123 124 125 126 127 128 129
<li class="nav-item">
<a class="nav-link" href="${nav.repoCurrentBranchBranches()}">Branches</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Tags</a>
</li>
</ul>
</nav>
</div>122 123 124 125 126
<li class="nav-item">
<a class="nav-link" href="${nav.repoCurrentBranchBranches()}">Branches</a>
</li>
</ul>
</nav>
</div>278 279 280 281 282 283
permalink: (data) => {
const repoName = data.branchInfo.repoName
const branchName = data.branchInfo.branchName
return `${reposPath}/${eleventyConfig.getFilter("slugify")(repoName)}/branches/${eleventyConfig.getFilter("slugify")(branchName)}/list/`
},
eleventyComputed: {
nav: {278 279 280 281 282 283
permalink: (data) => {
const repoName = data.branchInfo.repoName
const branchName = data.branchInfo.branchName
return `${reposPath}/${eleventyConfig.getFilter("slugify")(repoName)}/branches/${eleventyConfig.getFilter("slugify")(branchName)}/branches/`
},
eleventyComputed: {
nav: {446 447 448 449 450 451
nav: {
repoName: (data) => data.patchPage.repoName,
branchName: (data) => data.patchPage.branchName,
path: 'patches/page1',
},
currentRepo: (data) => reposData.find(repo => {
return repo.name === data.patchPage.repoName446 447 448 449 450 451
nav: {
repoName: (data) => data.patchPage.repoName,
branchName: (data) => data.patchPage.branchName,
path: 'commits/page1',
},
currentRepo: (data) => reposData.find(repo => {
return repo.name === data.patchPage.repoName457 458 459 460 461 462
return branch.name === data.patchPage.branchName
}),
},
navTab: "patches",
}
)
457 458 459 460 461 462
return branch.name === data.patchPage.branchName
}),
},
navTab: "commits",
}
)