Skip to content

pit.world global footer + trimmed site footer - #11

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
  • Global footer: the Express server fetches pit.world/snippets/footer.html?site=moshcode.sh (module cache 1h, 3s timeout, stale-or-nothing on failure) into a <!--pit-footer--> slot, the last thing in <body> on every HTML page incl. 404. Replaces the @profullstack/footer webring (dependency removed).
  • CSP: style-src is nonce-based, so the snippet's <style> is stamped with the per-response nonce (snippet has no inline style attributes). No policy change.
  • Site footer trimmed to one row: brand, MIT, GitHub, Commands, Blog, install.sh, llms.txt. Dropped the creed tagline and the "the Pit" / "elsewhere" columns.
  • Standing rule: the CrawlProof text-link frame moves from above the footer to the top of <main> (still exactly one per page; test unchanged and passing).
  • 0.1.1. 19/19 tests pass; local render shows one footer with the nonce applied.

🤖 Generated with Claude Code

The server fetches https://pit.world/snippets/footer.html?site=moshcode.sh
(module cache 1h, 3s timeout, stale or nothing on failure) into a
<!--pit-footer--> slot as the last thing in <body>, stamping its <style>
with the response's CSP nonce. Replaces the @profullstack/footer webring.

Site footer is one row: brand, MIT, GitHub/Commands/Blog/install.sh/llms.txt.
Dropped the creed tagline and the Pit and elsewhere columns. The CrawlProof
text-link unit moves from above the footer to the top of <main>.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ralyodio
ralyodio merged commit 62c0024 into main Oct 19, 2026
3 checks passed
ralyodio added a commit that referenced this pull request Oct 19, 2026
* Restore the Profullstack webring row in the footer

The pit.world footer sweep (#11) dropped @profullstack/footer, so the
homepage stopped linking the ring and rssamplifier's verifier lost the
site. Render footerHtml() back into a <!--pfs-footer--> slot after the
one-row site footer (it carries the only copyright line); the pit.world
footer stays last in <body>. A test now pins the ring row in the HTML.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Sync data/commands.json with the CLI README (moshcode deploy)

CI's freshness check failed on drift from upstream, unrelated to the
footer change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

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