Repository navigation
Add the pit.world global footer; trim the site footer to one line (v0.13.1) - #34
Merged
Merged
Conversation
….13.1) - site/server.ts appends https://pit.world/snippets/footer.html?site=readm3.com before </body> on every site page and the account page (module-level cache, hourly refresh, 3s timeout, stale on error, unchanged page on failure). The editor, workspaces and shared documents (full-screen app shells) skip it. - Account page CSP: style-src gains 'unsafe-inline' so the footer's <style> applies. - Site footer: the @profullstack/footer bar (HQTUI link, "MIT licensed · vX" tagline, webring) becomes one line: copyright, Docs, Sharing & API, Source, npm. The dependency and dist/pfs-footer.json go with it. Account footer drops its tagline. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds the pit.world global footer, server-side: site/server.ts appends the snippet before on every site page and /account (module-level cache, hourly refresh, 3s timeout, stale on error, page unchanged on failure). The editor (/viewer), workspaces (/admin) and shared documents are full-screen app shells and skip it. The /account CSP gets 'unsafe-inline' in style-src so the snippet's <style> applies.
Trims the footer: the @profullstack/footer bar (HQTUI, version tagline, webring) becomes one line: copyright, Docs, Sharing & API, Source, npm. Drops the now-unused @profullstack/footer dependency and dist/pfs-footer.json.
Checked: test (178 pass), test:server (63 pass), site:build, local server render (/, /docs, /paste, /account show one pit footer; /viewer none).
🤖 Generated with Claude Code