Something went wrong. Try again.
Identities for entities did.bot
agent llm did
Something went wrong. Try again.
1.3 kB · 48 lines
Astro
at main
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849---// Which commit this build came from, in margin space: one short id, and// nothing else. The site has no live personal data server to read a real// record feed from (see plan/site.md on the origin problem this build sits// on top of), and `git log` is the one real stream a static build has — but// a commit *subject* is prose written for a reviewer, not for the marketing// origin, so only the id ships. If git is unavailable for any reason (no// `.git`, no `git` binary) this renders nothing — never a fabricated// substitute.import { execSync } from "node:child_process";
function readCommit(): string { try { const repoRoot = new URL("../../..", import.meta.url); return execSync("git rev-parse --short HEAD", { cwd: repoRoot, encoding: "utf8", }).trim(); } catch { return ""; }}
const commit = readCommit();---{commit && ( <p class="build-stamp"><code>{commit}</code></p>)}
<style> .build-stamp { position: fixed; right: 0; bottom: 0; margin: 0; padding: 8px 10px; font-size: 11px; color: var(--ink-dim); pointer-events: none; } .build-stamp code { color: var(--accent); opacity: 0.8; } @media (max-width: 900px) { .build-stamp { display: none; } }</style>