feat: add rss feed and remove rev feature

This commit is contained in:
Jet 2026-03-26 18:15:43 -07:00
parent 3937d8fd75
commit 5356e2dbb4
No known key found for this signature in database
8 changed files with 268 additions and 13 deletions

View file

@ -1,7 +1,6 @@
const CLEARNET_HOST = "jetpham.com";
const ONION_HOST =
"jet7tetd43snvjx3ng5jrhuwm2yhyp76tjtct5mtofg64apokcgq7fqd.onion";
const COMMIT_BASE_URL = "https://git.extremist.software/jet/website/commit/";
const REPO_URL = "https://git.extremist.software/jet/website";
function isOnionHost(hostname: string): boolean {
@ -26,17 +25,15 @@ export function renderFooter() {
const footer = document.getElementById("site-footer");
if (!footer) return;
const commitSha = __COMMIT_SHA__;
const shortSha = commitSha.slice(0, 7);
const mirror = getMirrorLink();
footer.innerHTML = `
<div class="site-panel px-[2ch] py-[1ch]">
<div class="site-footer-inner">
<span>rev <a href="${COMMIT_BASE_URL}${commitSha}">${shortSha}</a></span>
<span aria-hidden="true">|</span>
<a href="${REPO_URL}">src</a>
<span aria-hidden="true">|</span>
<a href="/qa/rss.xml" data-native-link>rss</a>
<span aria-hidden="true">|</span>
<a href="/pgp.txt" data-native-link>pgp</a>
<span aria-hidden="true">|</span>
<a href="/ssh.txt" data-native-link>ssh</a>