Build with orgo; link source to gitbay !2

merged merged by cmc on 2026-11-05 22:33 UTC · audit-labs/audit-labs.dev:orgo into main

Discussion

cmc

Moves the site from hand-written HTML to orgo. Design and copy are unchanged apart from the source links.

  • Pages: each */index.html is now content/*/index.org. The body between nav and footer is an HTML export block, unchanged. templates/base.html writes the head, nav and footer from page keywords (#+nav_label, #+nav_url, #+tagline, #+footer_note, #+footer_link_N, #+stylesheet, #+rel_me).
  • Styles: assets/ → static/assets/. The walkthrough's inline <style> is now assets/walkthrough.css, linked from that page only.
  • Source links: github.com/audit-labs/* → gitbay.org/audit-labs/* (all repos, including tutorials and gh-attest's PRIVACY/SECURITY, exist there). Labels: "GitHub →" → "Source →", "View on GitHub" → "View source", "View all on GitHub →" → "Browse all repos →", "audit-tools on GitHub →" → "audit-tools source →", footer "GitHub" → "Source". References to GitHub as a product (gh-attest, collectors, rulesets) are unchanged.
  • rel="me": was an <a> inside <head>, which made browsers move it and the three <link> elements after it into <body>. Now a <link rel="me"> in <head>.
  • Deploy: build.sh builds public/. deploy.sh builds, commits public/ to the pages branch as "Build ", and pushes. /LICENSE is no longer published on the site; it stays in the repo.

Checked against the current HTML:

  • orgo build --strict: 6 pages, 0 unresolved links, 0 diagnostics.
  • Token diff of every page (tags, attributes, text): only the link, label, rel="me" and stylesheet changes above.
  • site.css byte-identical; walkthrough.css identical to the inline style ignoring whitespace and comments.
  • Element boxes and computed colours/fonts at 1280px identical on all 6 pages, except the widths of the relabeled links.

Not covered: the deploy itself.