Fix RSS links and RSS icon styling

ada2bac29827255ed79a155786c429e8a7663dc0

Tucker McKnight <tucker@pangolin.lan> | Sat Jan 03 2026

Fix RSS links and RSS icon styling
frontend/img/rss-icon.svg:0
Before
After
<svg xmlns="http://www.w3.org/2000/svg" height="1em" viewBox="0 0 448 512"><!--! Font Awesome Free 6.4.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --><style>svg{fill:#ed8d0d}</style><path d="M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zM96 136c0-13.3 10.7-24 24-24c137 0 248 111 248 248c0 13.3-10.7 24-24 24s-24-10.7-24-24c0-110.5-89.5-200-200-200c-13.3 0-24-10.7-24-24zm0 96c0-13.3 10.7-24 24-24c83.9 0 152 68.1 152 152c0 13.3-10.7 24-24 24s-24-10.7-24-24c0-57.4-46.6-104-104-104c-13.3 0-24-10.7-24-24zm0 120a32 32 0 1 1 64 0 32 32 0 1 1 -64 0z"/></svg>
js_templates/commits.ts:12
Before
11
12
13
14

15
16
  return `
    <div class="row mt-3 mb-1">
      <div class="col">
        <p>Showing commits from <span class="font-monospace">${data.patchPage.branchName}</span></p>
⁣
      </div>
    </div>
After
11
12
13
14
15
16
17
  return `
    <div class="row mt-3 mb-1">
      <div class="col">
        <p class="d-inline-block">Showing commits from <span class="font-monospace">${data.patchPage.branchName}</span></p>
        <a class="btn btn-outline-primary badge shadow-none ms-2" href="${nav.repoCurrentBranchRssFeed()}"><div class="d-flex"><img src="${nav.rootPath()}frontend/img/rss-icon.svg" style="width: 11px; margin-right: 5px;" />RSS</div></a>
      </div>
    </div>
js_templates/helpers/nav.ts:36
Before
35
36
37

38
39
    repoBranchCommitsBase: () => repoBranchCommitsBase,
    repoCurrentBranchCommits: () => `${repoBranchCommitsBase}page1`,
    repoCurrentBranchBranches: () => `${currentBranchPath}/branches`,
⁣
    homepageButtons: reposConfig.repos[repoName].defaultTemplateConfiguration?.homepageButtons || []
  }
}
After
35
36
37
38
39
40
    repoBranchCommitsBase: () => repoBranchCommitsBase,
    repoCurrentBranchCommits: () => `${repoBranchCommitsBase}page1`,
    repoCurrentBranchBranches: () => `${currentBranchPath}/branches`,
    repoCurrentBranchRssFeed: () => `${currentBranchPath}/commits.xml`,
    homepageButtons: reposConfig.repos[repoName].defaultTemplateConfiguration?.homepageButtons || []
  }
}
js_templates/repo.ts:81
Before
80
81
82





83
84
85
          </noscript>
          <div class="row mt-2">
            <div class="col">
⁣
⁣
⁣
⁣
⁣
              <p class="font-monospace text-white mb-2">
                Latest commit: ${latestCommit.date.toDateString()} <a class="fw-bold link-info" href="${nav.repoBranchCommitsBase()}${latestCommit.hash}">${latestCommit.hash.substr(0, 6)}</a> ${latestCommitMessage}
              </p>
            </div>
After
80
81
82
83
84
85
86
87
88
89
90
          </noscript>
          <div class="row mt-2">
            <div class="col">
              <a class="btn btn-outline-info badge shadow-none me-2" href="${nav.repoCurrentBranchRssFeed()}">
                <div class="d-flex">
                  <img src="${nav.rootPath()}frontend/img/rss-icon.svg" style="width: 11px; margin-right: 5px;" />RSS
                </div>
              </a>
              <p class="font-monospace text-white mb-2 d-inline-block">
                Latest commit: ${latestCommit.date.toDateString()} <a class="fw-bold link-info" href="${nav.repoBranchCommitsBase()}${latestCommit.hash}">${latestCommit.hash.substr(0, 6)}</a> ${latestCommitMessage}
              </p>
            </div>
make.sh:3
Before
2
3
4

5

6
7
mkdir -p dist/templates
mkdir -p dist/css
mkdir -p dist/partial_templates
⁣
cp frontend/top.js dist/frontend/top.js
⁣
cp templates/*.njk dist/templates
cp partial_templates/*.njk dist/partial_templates
cp -r vendor dist/
After
2
3
4
5
6
7
8
9
mkdir -p dist/templates
mkdir -p dist/css
mkdir -p dist/partial_templates
mkdir -p dist/img
cp frontend/top.js dist/frontend/top.js
cp -r frontend/img dist/frontend/img
cp templates/*.njk dist/templates
cp partial_templates/*.njk dist/partial_templates
cp -r vendor dist/
scss/design-board.scss:290
Before
289
290





  background-color: rgba(51, 247, 160, .1); /* different green for dark mode; looks better */
}
⁣
⁣
⁣
⁣
⁣
⁣
After
289
290
291
292
293
294
295
296
  background-color: rgba(51, 247, 160, .1); /* different green for dark mode; looks better */
}

.btn-outline-primary {
  color: var(--bs-body-color);
}
.btn-outline-primary:hover {
  color: $white;
}