Repository navigation
Conversation
Resolve registry and blog index conflicts by keeping table-of-contents from dev alongside the updated-post template.
sank8-2
force-pushed
the
feat/blog-updated-post
branch
from
October 27, 2026 14:17
01ded7a to
a73ad60
Compare
This branch has not been deployed
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.
Description
Closes #289
Adds the
blog-updated-posttemplate for refreshed posts that want to say what changed: an "Updated" label in the accent, the post title large under it, a dates line ("First published …" · "Updated …"), up to three short "What changed" lines, and the site name at the bottom.published,updated, or site name hide cleanly (no stray separator).autoFontSize()and then truncate; change lines and the site name truncate too.contrastText/mixColors.How I Tested This
npm run check— 0 errors (pre-existing hints only).npm test -- tests/templates/updated-post.test.ts— 15 tests passed (registration/re-export, 1200×630 root, flex on every div, defaults order, blank change skipping, heading hide, empty dates/site name, long title shrink+truncate, light/dark contrast).npm run checkre-run after registering inblog/index.tsandregistry.ts.AI Assistance
OpenCode drafted the template and tests; Cursor helped move the work onto a
dev-based branch and resolve export/registry conflicts. I reviewed the diff and ran the checks above locally.Type of Change
Checklist
devnpm run checkpassesnpm run testpasses with the default timeout