Tucker McKnight <tucker@pangolin.lan> | Sun Dec 07 2025
Rename "patches" to "commits" in commits page URL
30 31 32 33 34 35
repoCurrentBranchFiles: () => {
return `${currentBranchPath}/files`
},
repoCurrentBranchCommits: () => `${currentBranchPath}/commits`,
repoCurrentBranchBranches: () => `${currentBranchPath}/branches`,
}
}30 31 32 33 34 35
repoCurrentBranchFiles: () => {
return `${currentBranchPath}/files`
},
repoCurrentBranchCommits: () => `${currentBranchPath}/commits/page1`,
repoCurrentBranchBranches: () => `${currentBranchPath}/branches`,
}
}463 464 465 466 467 468
permalink: (data) => {
const repoName = data.patchPage.repoName
const branchName = data.patchPage.branchName
return `${reposPath}/${eleventyConfig.getFilter("slugify")(repoName)}/branches/${eleventyConfig.getFilter("slugify")(branchName)}/patches/page${data.patchPage.pageNumber}/`
},
eleventyComputed: {
nav: {463 464 465 466 467 468
permalink: (data) => {
const repoName = data.patchPage.repoName
const branchName = data.patchPage.branchName
return `${reposPath}/${eleventyConfig.getFilter("slugify")(repoName)}/branches/${eleventyConfig.getFilter("slugify")(branchName)}/commits/page${data.patchPage.pageNumber}/`
},
eleventyComputed: {
nav: {500 501 502 503 504 505
permalink: (data) => {
const repoName = data.patchInfo.repoName
const branchName = data.patchInfo.branchName
return `${reposPath}/${eleventyConfig.getFilter("slugify")(repoName)}/branches/${eleventyConfig.getFilter("slugify")(branchName)}/patches/${data.patchInfo.commit.hash}/`
},
eleventyComputed: {
nav: {500 501 502 503 504 505
permalink: (data) => {
const repoName = data.patchInfo.repoName
const branchName = data.patchInfo.branchName
return `${reposPath}/${eleventyConfig.getFilter("slugify")(repoName)}/branches/${eleventyConfig.getFilter("slugify")(branchName)}/commits/${data.patchInfo.commit.hash}/`
},
eleventyComputed: {
nav: {