Skip to content

feat(site): pit.world global footer baked in at deploy, trimmed site footer - #20

Merged
ralyodio merged 1 commit into
mainfrom
pit-footer
Oct 19, 2026
Merged

ralyodio merged 1 commit into
mainfrom
pit-footer

Conversation

@ralyodio

Copy link
Copy Markdown
Contributor

hqterm.sh is a static site (nginx serving files from /var/www/hqterm.sh), so the pit.world global footer is baked in at deploy time: the new scripts/deploy-site.sh copies site/ and the installers to dist/site, inserts https://pit.world/snippets/footer.html?site=hqterm.sh before the last of every page (3s timeout; pages ship unchanged if it fails), and rsyncs to dev2. Re-run it to refresh the footer.

The landing footer is trimmed to one row (copyright/MIT, Docs, GitHub, hqtui, hqsh), dropping the @profullstack/footer ring row, its jsDelivr embed.js and the OpenEmoji link. The ad move off the footer already landed in #19.

No CSP on hqterm.sh. Site-only change, so no version bump or release tag. Tests pass (34).

🤖 Generated with Claude Code

…footer

- scripts/deploy-site.sh: builds dist/site from site/ plus the installers,
  bakes https://pit.world/snippets/footer.html?site=hqterm.sh in before the
  last </body> of every page (3s timeout; pages ship unchanged if it fails),
  then rsyncs to dev2:/var/www/hqterm.sh. hqterm.sh is static, so the footer
  is fetched at deploy time rather than per request.
- Landing footer is one row: copyright/MIT, Docs, GitHub, hqtui, hqsh. Dropped
  the @profullstack/footer ring row, its embed.js script and the OpenEmoji link.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ralyodio
ralyodio merged commit 83eeb29 into main Oct 19, 2026
9 checks passed
@ralyodio
ralyodio deleted the pit-footer branch October 19, 2026 13:11
ralyodio added a commit that referenced this pull request Oct 19, 2026
The pit.world global footer sweep (#20) dropped the ring row. The ring
verifier reads raw HTML, so the <nav class="webring"> with prev/home/next
(from=https%3A%2F%2Fhqterm.sh%2F) goes back into the site footer row, server-rendered. One
copyright line; the pit.world footer (data-pit-footer) stays last in <body>.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant