mirror of
https://github.com/kellymichels/zscripts-token-savers
synced 2026-10-07 07:18:18 +00:00
The page had a title and a description and nothing else, so pasting the link anywhere rendered a bare URL. - the full og:* block with absolute URLs, plus twitter:card and a canonical the og:url agrees with - site/og-card.png, 1200x630, in the page's own dark palette so the preview and the page look like the same thing. Composed by make_og_card.py in the private tooling repo; it lives in site/ because that directory is what reaches the server. - tests/LinkPreview.Tests.ps1 The last test is the one that earned its place. The first draft of the card showed `ztests`, which is not a command in this repo - so the test extracts the z-commands named in og:image:alt and fails unless each one is a real .ps1 or .cmd at the root. A card is public copy, and public copy must not advertise a script that does not exist. CHECKSUMS.txt is untouched: the manifest covers top-level executables only, and nothing here is one. Tested: 6 new tests, verified to fail when the card advertises ztests again. Full suite 292 passed, 1 skipped. Closes #90 Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
25 KiB
1200x630px
25 KiB
1200x630px