Some nav fixes

2f0cb46f900a8008f78a2efe3b2fd932627aea28

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.
js_templates/common/htmlPage.ts:123
Before
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>
After
122
123
124



125
126
                    <li class="nav-item">
                      <a class="nav-link" href="${nav.repoCurrentBranchBranches()}">Branches</a>
                    </li>
⁣
⁣
⁣
                  </ul>
                </nav>
              </div>
main.ts:279
Before
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: {
After
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: {
main.ts:447
Before
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.repoName
After
446
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.repoName
main.ts:458
Before
457
458
459
460
461
462
          return branch.name === data.patchPage.branchName
        }),
      },
      navTab: "patches",
    }
  )
After
457
458
459
460
461
462
          return branch.name === data.patchPage.branchName
        }),
      },
      navTab: "commits",
    }
  )